Searched refs:MADV_COLLAPSE (Results 1 – 15 of 15) 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/Documentation/admin-guide/mm/ |
| H A D | transhuge.rst | 125 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 D | prctl_thp_disable.c | 65 madvise(mem, pmdsize, MADV_COLLAPSE); in test_mmap_thp()
|
| H A D | process_madv.c | 124 * 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 D | cow.c | 1309 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 D | khugepaged.c | 255 ret = madvise(p, size, MADV_COLLAPSE); in madvise_collapse_retry()
|
| H A D | uffd-unit-tests.c | 545 * 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 D | guard-regions.c | 2238 EXPECT_NE(madvise(ptr, size, MADV_COLLAPSE), 0); in TEST_F()
|
| H A D | pagemap_ioctl.c | 1087 (madvise(mem, size, MADV_COLLAPSE) || in unpopulated_written_test()
|
| H A D | hmm-tests.c | 2111 ret = madvise(map, size, MADV_COLLAPSE); in TEST_F()
|
| /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 | 898 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 D | design.rst | 400 - ``collapse``:对带有 ``MADV_COLLAPSE`` 的区域调用 ``madvise()``。
|
| /linux/tools/testing/selftests/kvm/ |
| H A D | guest_memfd_test.c | 219 TEST_ASSERT_EQ(madvise(mem, pmd_size, MADV_COLLAPSE), -1); in test_collapse()
|
| /linux/mm/damon/ |
| H A D | vaddr.c | 909 madv_action = MADV_COLLAPSE; in damon_va_apply_scheme()
|