Home
last modified time | relevance | path

Searched refs:MADV_HUGEPAGE (Results 1 – 25 of 38) sorted by relevance

12

/linux-6.12.1/tools/perf/bench/
Dbench.h14 # ifndef MADV_HUGEPAGE
15 # define MADV_HUGEPAGE 14 macro
/linux-6.12.1/tools/testing/selftests/mm/
Dsplit_huge_page_test.c98 madvise(result, len, MADV_HUGEPAGE); in allocate_zero_filled_hugepage()
167 madvise(one_page, len, MADV_HUGEPAGE); in split_pmd_thp()
219 madvise(one_page, len, MADV_HUGEPAGE); in split_pte_mapped_thp()
410 madvise(*addr, fd_size, MADV_HUGEPAGE); in create_pagecache_thp_and_fd()
Dtranshuge-stress.c82 if (madvise(ptr, len, MADV_HUGEPAGE)) in main()
Dsoft-dirty.c90 ret = madvise(map, hpage_len, MADV_HUGEPAGE); in test_hugepage()
Dgup_test.c241 madvise(p, size, MADV_HUGEPAGE); in main()
Dkhugepaged.c326 if (madvise(p, hpage_pmd_size, MADV_HUGEPAGE)) { in alloc_hpage()
513 madvise(p, nr_hpages * hpage_pmd_size, MADV_HUGEPAGE); in __madvise_collapse()
549 madvise(p, nr_hpages * hpage_pmd_size, MADV_HUGEPAGE); in wait_for_scan()
843 madvise(BASE_ADDR, hpage_pmd_size, MADV_HUGEPAGE); in collapse_compound_extreme()
Dmigration.c196 ASSERT_EQ(madvise(ptr, TWOMEG, MADV_HUGEPAGE), 0);
Dmkdirty.c75 if (madvise(mem, thpsize, MADV_HUGEPAGE)) { in mmap_thp_range()
Dcow.c817 ret = madvise(mem, thpsize, MADV_HUGEPAGE); in do_run_with_thp()
1533 ret = madvise(mem, pmdsize, MADV_HUGEPAGE); in run_with_huge_zeropage()
1534 ret |= madvise(smem, pmdsize, MADV_HUGEPAGE); in run_with_huge_zeropage()
Dvm_util.c259 if (madvise(ptr, HPAGE_SIZE, MADV_HUGEPAGE)) in allocate_transhuge()
/linux-6.12.1/tools/arch/alpha/include/uapi/asm/
Dmman.h10 #define MADV_HUGEPAGE 14 macro
/linux-6.12.1/tools/arch/mips/include/uapi/asm/
Dmman.h10 #define MADV_HUGEPAGE 14 macro
/linux-6.12.1/tools/arch/xtensa/include/uapi/asm/
Dmman.h10 #define MADV_HUGEPAGE 14 macro
/linux-6.12.1/tools/arch/parisc/include/uapi/asm/
Dmman.h10 #define MADV_HUGEPAGE 14 macro
/linux-6.12.1/tools/include/uapi/asm-generic/
Dmman-common.h62 #define MADV_HUGEPAGE 14 /* Worth backing with hugepages */ macro
/linux-6.12.1/include/uapi/asm-generic/
Dmman-common.h62 #define MADV_HUGEPAGE 14 /* Worth backing with hugepages */ macro
/linux-6.12.1/arch/mips/include/uapi/asm/
Dmman.h88 #define MADV_HUGEPAGE 14 /* Worth backing with hugepages */ macro
/linux-6.12.1/arch/xtensa/include/uapi/asm/
Dmman.h96 #define MADV_HUGEPAGE 14 /* Worth backing with hugepages */ macro
/linux-6.12.1/arch/parisc/include/uapi/asm/
Dmman.h55 #define MADV_HUGEPAGE 14 /* Worth backing with hugepages */ macro
/linux-6.12.1/arch/alpha/include/uapi/asm/
Dmman.h61 #define MADV_HUGEPAGE 14 /* Worth backing with hugepages */ macro
/linux-6.12.1/tools/mm/
Dthp_swap_allocator_test.c138 if (madvise(mem1, MEMSIZE_MTHP, MADV_HUGEPAGE) != 0) { in main()
/linux-6.12.1/Documentation/translations/zh_CN/admin-guide/mm/damon/
Dusage.rst220 - ``hugepage``: 为带有 ``MADV_HUGEPAGE`` 的区域调用 ``madvise()`` 。
454 - 3: Call ``madvise()`` for the region with ``MADV_HUGEPAGE``
/linux-6.12.1/Documentation/translations/zh_TW/admin-guide/mm/damon/
Dusage.rst220 - ``hugepage``: 爲帶有 ``MADV_HUGEPAGE`` 的區域調用 ``madvise()`` 。
454 - 3: Call ``madvise()`` for the region with ``MADV_HUGEPAGE``
/linux-6.12.1/Documentation/admin-guide/mm/
Dtranshuge.rst92 MADV_HUGEPAGE madvise regions.
100 madvise(MADV_HUGEPAGE) on their critical mmapped regions.
111 (mostly for debugging purposes) or only enabled inside MADV_HUGEPAGE
154 MADV_HUGEPAGE region.
179 only for regions that have used madvise(MADV_HUGEPAGE); all
186 that are have used madvise(MADV_HUGEPAGE). This is the default
/linux-6.12.1/arch/parisc/kernel/
Dsys_parisc.c395 case 67: behavior = MADV_HUGEPAGE; break; in parisc_madvise()

12