Searched refs:MADV_COLLAPSE (Results 1 – 12 of 12) sorted by relevance
| /linux/tools/include/uapi/asm-generic/ |
| H A D | mman-common.h | 80 #define MADV_COLLAPSE 25 /* Synchronous hugepage collapse */ macro
|
| /linux/tools/testing/selftests/mm/ |
| H A D | prctl_thp_disable.c | 65 madvise(mem, pmdsize, MADV_COLLAPSE); in test_mmap_thp()
|
| H A D | process_madv.c | 196 ret = sys_process_madvise(self->remote_pidfd, &vec, 1, MADV_COLLAPSE, in TEST_F()
|
| H A D | cow.c | 1297 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 D | khugepaged.c | 292 ret = madvise(p, size, MADV_COLLAPSE); in madvise_collapse_retry()
|
| H A D | uffd-unit-tests.c | 588 MADV_COLLAPSE)) { in uffd_minor_test_common()
|
| H A D | guard-regions.c | 2240 EXPECT_NE(madvise(ptr, size, MADV_COLLAPSE), 0); in TEST_F()
|
| /linux/Documentation/admin-guide/mm/ |
| H A D | transhuge.rst | 124 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 D | madvise.c | 1371 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 D | Kconfig | 873 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 D | sys_parisc.c | 401 case 73: behavior = MADV_COLLAPSE; break; in parisc_madvise()
|
| /linux/Documentation/mm/ |
| H A D | process_addrs.rst | 569 :c:macro:`!MADV_COLLAPSE`. 580 when handling :c:macro:`!MADV_COLLAPSE`.
|