Searched refs:superpages (Results 1 - 1 of 1) sorted by relevance

/darwin-on-arm/xnu/tools/tests/superpages/
H A Dmeasure_tlbs.c22 testt(boolean_t superpages, int mode, int write, int kb) { argument
28 mach_vm_size_t size = SUPERPAGE_ROUND_UP(pages*PAGE_SIZE); /* allocate full superpages */
31 kr = mach_vm_allocate(mach_task_self(), &addr, size, VM_FLAGS_ANYWHERE | (superpages? VM_FLAGS_SUPERPAGE_SIZE_2MB : VM_FLAGS_SUPERPAGE_NONE));

Completed in 77 milliseconds