understanding vmem.h