Home
last modified time | relevance | path

Searched refs:mmap_block (Results 1 – 1 of 1) sorted by relevance

/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_pressure_test/
Dcpuset_memory_pressure.c49 long int mmap_block = use * unit / 10 / pagesize; in main() local
52 while (pagesize * mmap_block > 2 * unit) { in main()
53 unsigned long *addr = mmap(NULL, pagesize * mmap_block, in main()
57 mmap_block = mmap_block / 2; in main()
60 memset(addr, 0xF7, pagesize * mmap_block); in main()
61 total_block += mmap_block; in main()