Home
last modified time | relevance | path

Searched refs:MADV_COLLAPSE (Results 1 – 11 of 11) 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.rst124 MADV_COLLAPSE)`` ignores these settings and collapses ranges to
196 MADV_COLLAPSE)`` can still cause transparent huge pages to be
238 of global THP controls or madvise(..., MADV_COLLAPSE) being used.
244 madvise(..., MADV_HUGEPAGE) or madvise(..., MADV_COLLAPSE) is used.
245 - Global THP controls are set to "never" and madvise(..., MADV_COLLAPSE)
248 Note that MADV_COLLAPSE is currently always rejected if
431 Do not allocate huge pages. Note that ``madvise(..., MADV_COLLAPSE)``
492 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.c196 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()
1311 ksft_perror("MADV_COLLAPSE failed"); in do_test_anon_thp_collapse()
1387 ret = madvise(mem, size, MADV_COLLAPSE); in do_test_anon_thp_collapse()
1389 ksft_perror("MADV_COLLAPSE failed"); in do_test_anon_thp_collapse()
H A Dkhugepaged.c292 ret = madvise(p, size, MADV_COLLAPSE); in madvise_collapse_retry()
H A Duffd-unit-tests.c588 MADV_COLLAPSE)) { in uffd_minor_test_common()
H A Dguard-regions.c2240 EXPECT_NE(madvise(ptr, size, MADV_COLLAPSE), 0); in TEST_F()
/linux/mm/
H A Dmadvise.c1369 case MADV_COLLAPSE: in madvise_vma_behavior()
1549 case MADV_COLLAPSE: in madvise_behavior_valid()
1575 case MADV_COLLAPSE: in process_madvise_remote_valid()
1761 case MADV_COLLAPSE: in get_lock_mode()
H A DKconfig859 knob. Note that madvise(MADV_COLLAPSE) can still cause
905 madvise(MADV_COLLAPSE) can still cause transparent huge pages
/linux/arch/parisc/kernel/
H A Dsys_parisc.c401 case 73: behavior = MADV_COLLAPSE; break; in parisc_madvise()