Home
last modified time | relevance | path

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

/linux/tools/include/uapi/asm-generic/
H A Dmman-common.h80 #define MADV_COLLAPSE 25 /* Synchronous hugepage collapse */ macro
/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.c1297 ret = madvise(mem, size, MADV_COLLAPSE); in do_test_anon_thp_collapse()
1375 ret = madvise(mem, size, MADV_COLLAPSE); 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/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/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 DKconfig873 knob. Note that madvise(MADV_COLLAPSE) can still cause
919 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()
/linux/Documentation/mm/
H A Dprocess_addrs.rst569 :c:macro:`!MADV_COLLAPSE`.
580 when handling :c:macro:`!MADV_COLLAPSE`.