Searched refs:MADV_COLLAPSE (Results 1 - 11 of 11) sorted by relevance
/kernel/linux/linux-6.6/include/uapi/asm-generic/ |
H A D | mman-common.h | 84 #define MADV_COLLAPSE 25 /* Synchronous hugepage collapse */ macro
|
/kernel/linux/linux-6.6/tools/include/uapi/asm-generic/ |
H A D | mman-common.h | 80 #define MADV_COLLAPSE 25 /* Synchronous hugepage collapse */ macro
|
/kernel/linux/linux-6.6/arch/mips/include/uapi/asm/ |
H A D | mman.h | 106 #define MADV_COLLAPSE 25 /* Synchronous hugepage collapse */ macro
|
/kernel/linux/linux-6.6/arch/alpha/include/uapi/asm/ |
H A D | mman.h | 79 #define MADV_COLLAPSE 25 /* Synchronous hugepage collapse */ macro
|
/kernel/linux/linux-6.6/arch/parisc/include/uapi/asm/ |
H A D | mman.h | 73 #define MADV_COLLAPSE 25 /* Synchronous hugepage collapse */ macro
|
/kernel/linux/linux-6.6/arch/xtensa/include/uapi/asm/ |
H A D | mman.h | 114 #define MADV_COLLAPSE 25 /* Synchronous hugepage collapse */ macro
|
/kernel/linux/linux-6.6/mm/ |
H A D | madvise.c | 62 case MADV_COLLAPSE: in madvise_need_mmap_write() 1095 case MADV_COLLAPSE: in madvise_vma_behavior() 1190 case MADV_COLLAPSE: in madvise_behavior_valid() 1213 case MADV_COLLAPSE: in process_madvise_behavior_valid() 1380 * MADV_COLLAPSE - synchronously coalesce pages into new THP.
|
/kernel/linux/linux-6.6/arch/parisc/kernel/ |
H A D | sys_parisc.c | 400 case 73: behavior = MADV_COLLAPSE; break; in parisc_madvise()
|
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | cow.c | 1166 ret = madvise(mem, size, MADV_COLLAPSE); in do_test_anon_thp_collapse() 1168 ksft_test_result_skip("MADV_COLLAPSE failed: %s\n", in do_test_anon_thp_collapse() 1240 ret = madvise(mem, size, MADV_COLLAPSE); in do_test_anon_thp_collapse() 1242 ksft_test_result_skip("MADV_COLLAPSE failed: %s\n", in do_test_anon_thp_collapse()
|
H A D | uffd-unit-tests.c | 562 * NOTE: MADV_COLLAPSE is not yet compatible with WP, so testing in uffd_minor_test_common() 568 /* NOTE! MADV_COLLAPSE may not work with uffd-wp */ in uffd_minor_test_common() 599 MADV_COLLAPSE)) { in uffd_minor_test_common() 601 uffd_test_skip("MADV_COLLAPSE failed"); in uffd_minor_test_common() 1205 /* MADV_COLLAPSE only works with shmem */ 1207 /* We can't test MADV_COLLAPSE, so try our luck */
|
H A D | khugepaged.c | 577 * MADV_COLLAPSE is a best-effort request and may fail if an internal 588 ret = madvise(p, size, MADV_COLLAPSE); in madvise_collapse_retry() 608 * The latter is ineligible for collapse by MADV_COLLAPSE in alloc_hpage() 609 * while the former might cause MADV_COLLAPSE to race with in alloc_hpage() 611 * would cause MADV_COLLAPSE to fail with EAGAIN. in alloc_hpage() 615 perror("madvise(MADV_COLLAPSE)"); in alloc_hpage() 619 perror("madvise(MADV_COLLAPSE)"); in alloc_hpage() 801 * Prevent khugepaged interference and tests that MADV_COLLAPSE in __madvise_collapse()
|
Completed in 11 milliseconds