Lines Matching refs:MADV_FREE
7 * Check that memory marked with MADV_FREE is freed on memory pressure.
13 * o Madvise pages with MADV_FREE
32 * o Once the child is killed the MADV_FREE pages that were not written to
172 if (madvise(ptr, PAGES * page_size, MADV_FREE)) {
174 tst_brk(TCONF | TERRNO, "MADV_FREE is not supported");
176 tst_brk(TBROK | TERRNO, "MADV_FREE failed");
180 tst_res(TFAIL, "MADV_FREE pages were freed immediately");
182 tst_res(TPASS, "MADV_FREE pages were not freed immediately");
245 tst_res(TPASS, "Pages MADV_FREE were freed on low memory");
247 tst_res(TFAIL, "No MADV_FREE page was freed on low memory");
297 tst_brk(TCONF, "MADV_FREE is not supported");
319 tst_brk(TCONF, "MADV_FREE does not work without swap");