| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | dirty_log_page_splitting_test.c | 39 u64 hugepages; member 47 stats->hugepages = stats->pages_2m + stats->pages_1g; in get_page_stats() 51 stats->hugepages); in get_page_stats() 183 TEST_ASSERT_EQ(stats_clear_pass[0].hugepages, 0); in run_test() 187 TEST_ASSERT_EQ(stats_dirty_logging_enabled.hugepages, stats_populated.hugepages); in run_test() 189 TEST_ASSERT_EQ(stats_dirty_logging_enabled.hugepages, 0); in run_test()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-kernel-mm-hugepages | 1 What: /sys/kernel/mm/hugepages/ 5 /sys/kernel/mm/hugepages/ contains a number of subdirectories 6 of the form hugepages-<size>kB, where <size> is the page size 7 of the hugepages supported by the kernel/CPU combination.
|
| /linux/Documentation/arch/arm64/ |
| H A D | hugetlbpage.rst | 10 - the size of hugepages 13 The ARM64 port supports two flavours of hugepages. 18 These are regular hugepages where a pmd or a pud page table entry points to a
|
| /linux/Documentation/admin-guide/mm/ |
| H A D | transhuge.rst | 44 hugepages but a significant speedup already happens if only one of 45 the two is using hugepages just because of the fact the TLB miss is 78 hugepages. It requires no modifications for applications to take 88 In certain cases when hugepages are enabled system wide, application 92 possible to disable hugepages system-wide and to only have them inside 95 Embedded systems should enable hugepages only inside madvise regions 99 Applications that gets a lot of benefit from hugepages and that don't 100 risk to lose memory by using hugepages, should use 116 echo always >/sys/kernel/mm/transparent_hugepage/hugepages-<size>kB/enabled 117 echo madvise >/sys/kernel/mm/transparent_hugepage/hugepages-<size>kB/enabled [all …]
|
| /linux/tools/testing/selftests/mm/ |
| H A D | thp_settings.c | |
| H A D | prctl_thp_disable.c | 145 self->settings.hugepages[sz2ord(self->pmdsize, getpagesize())].enabled = THP_INHERIT; in FIXTURE_SETUP() 253 self->settings.hugepages[sz2ord(self->pmdsize, getpagesize())].enabled = THP_INHERIT; in FIXTURE_SETUP()
|
| H A D | thp_settings.h | |
| H A D | uffd-wp-mremap.c | 96 settings.hugepages[sz2ord(size, pagesize)].enabled = THP_ALWAYS; in alloc_one_folio() 364 settings.hugepages[i].enabled = THP_NEVER; in main()
|
| H A D | charge_reserved_hugetlb.sh | 98 # For 1GB hugepages 102 # For 2MB hugepages 311 echo nr hugepages = "$nr_hugepages" 366 echo nr hugepages = "$nr_hugepages"
|
| H A D | khugepaged.c | 564 settings.hugepages[i].enabled = THP_NEVER; in wait_for_scan() 669 settings.hugepages[collapse_order].enabled = THP_MADVISE; 1342 settings.hugepages[i].enabled = THP_NEVER; in main() 1343 settings.hugepages[collapse_order].enabled = THP_MADVISE; in main() 1477 settings.hugepages[source_order].enabled = THP_ALWAYS; 1766 default_settings.hugepages[hpage_pmd_order].enabled = THP_INHERIT; 1767 default_settings.hugepages[anon_order].enabled = THP_ALWAYS;
|
| H A D | cow.c | 1225 settings.hugepages[sz2ord(pmdsize, pagesize)].enabled = THP_NEVER; in run_anon_test_case() 1226 settings.hugepages[sz2ord(size, pagesize)].enabled = THP_ALWAYS; in run_anon_test_case() 1895 default_settings.hugepages[sz2ord(pmdsize, pagesize)].enabled = THP_INHERIT; in main()
|
| /linux/tools/testing/selftests/kvm/ |
| H A D | mmu_stress_test.c | 281 bool hugepages = false; in main() 314 hugepages = true; in main() 337 fd = kvm_memfd_alloc(slot_size, hugepages); in main() 287 bool hugepages = false; main() local
|
| /linux/Documentation/features/vm/THP/ |
| H A D | arch-support.txt | 4 # description: arch supports transparent hugepages
|
| /linux/tools/testing/selftests/iommu/ |
| H A D | iommufd.c | 1645 bool hugepages; in FIXTURE_SETUP() 1669 if (variant->hugepages) { in FIXTURE_VARIANT_ADD() 1687 .hugepages = false, in FIXTURE_VARIANT_ADD() 1694 .hugepages = false, in FIXTURE_VARIANT_ADD() 1701 .hugepages = true, in FIXTURE_VARIANT_ADD() 1708 .hugepages = true, in FIXTURE_VARIANT_ADD() 1715 .hugepages = false, 1722 .hugepages = true, 1841 size_t test_step = variant->hugepages ? (self->mmap_buf_size / 16) : in TEST_F() 1864 if (variant->hugepages) in TEST_F() 1630 bool hugepages; FIXTURE_VARIANT() local 2094 bool hugepages; FIXTURE_VARIANT() local [all...] |
| /linux/drivers/gpu/drm/i915/selftests/ |
| H A D | i915_mock_selftests.h | 34 selftest(hugepages, i915_gem_huge_page_mock_selftests)
|
| H A D | i915_live_selftests.h | 40 selftest(hugepages, i915_gem_huge_page_live_selftests)
|
| /linux/arch/loongarch/kvm/ |
| H A D | mmu.c | 94 kvm->stat.hugepages--; in kvm_flush_pte() 757 kvm->stat.hugepages--; in kvm_split_huge() 912 ++kvm->stat.hugepages; in kvm_map_page()
|
| H A D | vm.c | 16 STATS_DESC_ICOUNTER(VM, hugepages),
|
| /linux/arch/loongarch/include/asm/ |
| H A D | kvm_host.h | 57 u64 hugepages; 55 u64 hugepages; global() member
|
| /linux/tools/testing/selftests/kvm/lib/ |
| H A D | kvm_util.c | 928 int kvm_memfd_alloc(size_t size, bool hugepages) in __vm_set_user_memory_region() 933 if (hugepages) in __vm_set_user_memory_region() 852 kvm_memfd_alloc(size_t size,bool hugepages) kvm_memfd_alloc() argument
|
| /linux/tools/testing/selftests/kvm/include/ |
| H A D | kvm_util.h | 621 int kvm_memfd_alloc(size_t size, bool hugepages);
|
| /linux/Documentation/admin-guide/cgroup-v1/ |
| H A D | memory.rst | 547 transparent hugepages). 548 rss_huge # of bytes of anonymous transparent hugepages.
|
| /linux/Documentation/admin-guide/ |
| H A D | cgroup-v2.rst | 1637 transparent hugepages 1641 hugepages 1645 transparent hugepages 1774 Number of transparent hugepages which were allocated to satisfy 1779 Number of transparent hugepages which were allocated to allow 1784 Number of transparent hugepages which are swapout in one piece 1788 Number of transparent hugepages which were split before swapout.
|
| H A D | kernel-parameters.txt | 1215 the size represented by the legacy /proc/ hugepages 2037 hugepages= [HW,EARLY] Number of HugeTLB pages to allocate at boot. 2050 used in conjunction with hugepages (above) to 2052 pair hugepagesz=X hugepages=Y can be specified once 2060 allocate hugepages during boot. This option can be 2068 of gigantic hugepages. Or using node format, the size 2084 hugepages using the CMA allocator. If enabled, the 2085 boot-time allocation of gigantic hugepages is skipped. 7597 to anonymous transparent hugepages. 7884 with respect to transparent hugepages [all...] |
| /linux/mm/ |
| H A D | Kconfig | 922 This ensures that hugepages are used only in response to explicit 966 This ensures that hugepages are used only in response to explicit
|