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

/linux-master/include/uapi/asm-generic/
H A Dmman-common.h80 #define MADV_COLLAPSE 25 /* Synchronous hugepage collapse */ macro
/linux-master/tools/include/uapi/asm-generic/
H A Dmman-common.h80 #define MADV_COLLAPSE 25 /* Synchronous hugepage collapse */ macro
/linux-master/arch/alpha/include/uapi/asm/
H A Dmman.h79 #define MADV_COLLAPSE 25 /* Synchronous hugepage collapse */ macro
/linux-master/arch/xtensa/include/uapi/asm/
H A Dmman.h114 #define MADV_COLLAPSE 25 /* Synchronous hugepage collapse */ macro
/linux-master/arch/parisc/include/uapi/asm/
H A Dmman.h73 #define MADV_COLLAPSE 25 /* Synchronous hugepage collapse */ macro
/linux-master/arch/mips/include/uapi/asm/
H A Dmman.h106 #define MADV_COLLAPSE 25 /* Synchronous hugepage collapse */ macro
/linux-master/mm/
H A Dmadvise.c62 case MADV_COLLAPSE:
1073 case MADV_COLLAPSE:
1168 case MADV_COLLAPSE:
1191 case MADV_COLLAPSE:
1358 * MADV_COLLAPSE - synchronously coalesce pages into new THP.
/linux-master/arch/parisc/kernel/
H A Dsys_parisc.c400 case 73: behavior = MADV_COLLAPSE; break;
/linux-master/tools/testing/selftests/mm/
H A Dcow.c1223 ret = madvise(mem, size, MADV_COLLAPSE);
1225 ksft_test_result_skip("MADV_COLLAPSE failed: %s\n",
1297 ret = madvise(mem, size, MADV_COLLAPSE);
1299 ksft_test_result_skip("MADV_COLLAPSE failed: %s\n",
H A Dkhugepaged.c281 * MADV_COLLAPSE is a best-effort request and may fail if an internal
292 ret = madvise(p, size, MADV_COLLAPSE);
312 * The latter is ineligible for collapse by MADV_COLLAPSE
313 * while the former might cause MADV_COLLAPSE to race with
315 * would cause MADV_COLLAPSE to fail with EAGAIN.
319 perror("madvise(MADV_COLLAPSE)");
323 perror("madvise(MADV_COLLAPSE)");
505 * Prevent khugepaged interference and tests that MADV_COLLAPSE
H A Duffd-unit-tests.c567 * NOTE: MADV_COLLAPSE is not yet compatible with WP, so testing
573 /* NOTE! MADV_COLLAPSE may not work with uffd-wp */
604 MADV_COLLAPSE)) {
606 uffd_test_skip("MADV_COLLAPSE failed");
1423 /* MADV_COLLAPSE only works with shmem */
1425 /* We can't test MADV_COLLAPSE, so try our luck */

Completed in 178 milliseconds