Home
last modified time | relevance | path

Searched refs:MADV_COLLAPSE (Results 1 – 15 of 15) sorted by relevance

/linux/tools/include/uapi/asm-generic/
H A Dmman-common.h80 #define MADV_COLLAPSE 25 /* Synchronous hugepage collapse */ macro
/linux/Documentation/admin-guide/mm/
H A Dtranshuge.rst125 MADV_COLLAPSE)`` ignores these settings and collapses ranges to
197 MADV_COLLAPSE)`` can still cause transparent huge pages to be
239 of global THP controls or madvise(..., MADV_COLLAPSE) being used.
245 madvise(..., MADV_HUGEPAGE) or madvise(..., MADV_COLLAPSE) is used.
246 - Global THP controls are set to "never" and madvise(..., MADV_COLLAPSE)
249 Note that MADV_COLLAPSE is currently always rejected if
448 Do not allocate huge pages. Note that ``madvise(..., MADV_COLLAPSE)``
509 MADV_COLLAPSE)`` can still cause transparent huge pages to be obtained
/linux/tools/testing/selftests/mm/
H A Dprctl_thp_disable.c65 madvise(mem, pmdsize, MADV_COLLAPSE); in test_mmap_thp()
H A Dprocess_madv.c124 * This test deterministically validates process_madvise() with MADV_COLLAPSE
129 * The correctness of the MADV_COLLAPSE can be found in the relevant test examples in khugepaged.
196 ret = sys_process_madvise(self->remote_pidfd, &vec, 1, MADV_COLLAPSE, in TEST_F()
H A Dcow.c1309 ret = madvise(mem, size, MADV_COLLAPSE); in do_test_anon_thp_collapse()
1387 ret = madvise(mem, size, MADV_COLLAPSE); in do_test_anon_thp_collapse()
H A Dkhugepaged.c255 ret = madvise(p, size, MADV_COLLAPSE); in madvise_collapse_retry()
H A Duffd-unit-tests.c545 * NOTE: MADV_COLLAPSE is not yet compatible with WP, so testing in uffd_minor_test_common()
551 /* NOTE! MADV_COLLAPSE may not work with uffd-wp */ in uffd_minor_test_common()
582 MADV_COLLAPSE)) { in uffd_minor_test_common()
584 uffd_test_skip("MADV_COLLAPSE failed"); in uffd_minor_test_common()
2425 /* MADV_COLLAPSE only works with shmem */
2427 /* We can't test MADV_COLLAPSE, so try our luck */
H A Dguard-regions.c2238 EXPECT_NE(madvise(ptr, size, MADV_COLLAPSE), 0); in TEST_F()
H A Dpagemap_ioctl.c1087 (madvise(mem, size, MADV_COLLAPSE) || in unpopulated_written_test()
H A Dhmm-tests.c2111 ret = madvise(map, size, MADV_COLLAPSE); in TEST_F()
/linux/mm/
H A Dmadvise.c1371 case MADV_COLLAPSE: in madvise_vma_behavior()
1551 case MADV_COLLAPSE: in madvise_behavior_valid()
1577 case MADV_COLLAPSE: in process_madvise_remote_valid()
1763 case MADV_COLLAPSE: in get_lock_mode()
H A DKconfig898 knob. Note that madvise(MADV_COLLAPSE) can still cause
943 madvise(MADV_COLLAPSE) can still cause transparent huge pages
/linux/Documentation/translations/zh_CN/mm/damon/
H A Ddesign.rst400 - ``collapse``:对带有 ``MADV_COLLAPSE`` 的区域调用 ``madvise()``。
/linux/tools/testing/selftests/kvm/
H A Dguest_memfd_test.c219 TEST_ASSERT_EQ(madvise(mem, pmd_size, MADV_COLLAPSE), -1); in test_collapse()
/linux/mm/damon/
H A Dvaddr.c909 madv_action = MADV_COLLAPSE; in damon_va_apply_scheme()