Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/mem/thp/
H A Dthp04.c33 static char *write_thp, *read_thp; variable
90 read_thp = alloc_zero_page(write_thp + 2 * thp_size); in setup()
92 read_ptr = (int *)(read_thp + thp_size - sizeof(int)); in setup()
133 madvise(read_thp, thp_size, MADV_DONTNEED); in run()
154 if (read_thp) in cleanup()
155 SAFE_MUNMAP(read_thp, thp_size); in cleanup()

Completed in 1 milliseconds