Lines Matching refs:madvise
9 * Page fault occurs in spite that madvise(WILLNEED) system call is called
11 * which sequentially accesses to a shared memory and calls madvise(WILLNEED)
21 * mm: madvise: fix MADV_WILLNEED on shmem swapouts
24 * changes during madvise. When the pages are dirtied, about half
26 * moved into Swap. When madvise is run it will cause the pages
32 * Secondly we run madvise again, but only on the first
41 * e6e88712e43b ("mm: optimise madvise WILLNEED")
43 * 66383800df9c ("mm: fix madvise WILLNEED performance problem").
182 meminfo_diag("Before madvise");
186 TEST(madvise(target, MEM_LIMIT, MADV_WILLNEED));
188 tst_brk(TBROK | TTERRNO, "madvise failed");
199 meminfo_diag("After madvise");
207 TEST(madvise(target, pg_sz * 3, MADV_WILLNEED));
209 tst_brk(TBROK | TTERRNO, "madvise failed");