/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | nx_huge_pages_test.sh | 14 HUGE_PAGES=$(cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages) 32 sudo_echo "$(( $HUGE_PAGES + 3 ))" /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages 56 sudo_echo "$HUGE_PAGES" /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
|
H A D | dirty_log_page_splitting_test.c | 38 uint64_t hugepages; member 46 stats->hugepages = stats->pages_2m + stats->pages_1g; in get_page_stats() 50 stats->hugepages); in get_page_stats() 182 TEST_ASSERT_EQ(stats_clear_pass[0].hugepages, 0); in run_test() 184 TEST_ASSERT_EQ(stats_dirty_logging_enabled.hugepages, stats_populated.hugepages); in run_test() 186 TEST_ASSERT_EQ(stats_dirty_logging_enabled.hugepages, 0); in run_test()
|
/openbmc/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.
|
/openbmc/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
|
/openbmc/qemu/docs/ |
H A D | memory-hotplug.txt | 54 For example, assuming that the host has 1GB hugepages available in 55 the /mnt/hugepages-1GB directory, a 1GB hugepage could be hotplugged 58 (qemu) object_add memory-backend-file,id=mem1,size=1G,mem-path=/mnt/hugepages-1GB 71 -object memory-backend-file,id=mem1,size=1G,mem-path=/mnt/hugepages-1G \ 73 -object memory-backend-file,id=mem2,size=256M,mem-path=/mnt/hugepages-2MB \
|
/openbmc/linux/Documentation/admin-guide/mm/ |
H A D | hugetlbpage.rst | 73 ``/sys/kernel/mm/hugepages`` (described below). 99 command line by specifying the "hugepages=N" parameter, where 'N' = the 112 Specify a huge page size. Used in conjunction with hugepages 114 size. Hence, hugepagesz and hugepages are typically specified in 117 hugepagesz=2M hugepages=512 122 hugepages 125 if hugepages is the first or only hugetlb command line parameter it 128 specified, it can not be overwritten by a hugepagesz,hugepages 135 hugepages=256 hugepagesz=2M hugepages=512 138 indicating that the hugepages=512 parameter is ignored. If a hugepages [all …]
|
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 62 hugepages. It requires no modifications for applications to take 72 In certain cases when hugepages are enabled system wide, application 76 possible to disable hugepages system-wide and to only have them inside 79 Embedded systems should enable hugepages only inside madvise regions 83 Applications that gets a lot of benefit from hugepages and that don't 84 risk to lose memory by using hugepages, should use 105 anonymous hugepages in case they're not immediately free to madvise 107 pages unless hugepages are immediately available. Clearly if we spend CPU [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/libhugetlbfs/files/ |
H A D | 0007-Mark-glibc-specific-code-so.patch | 28 /* Set some allocator options more appropriate for hugepages */ 35 * to mmap() if we run out of hugepages. */
|
/openbmc/qemu/docs/system/devices/ |
H A D | ivshmem.rst | 50 ivshmem and hugepages 58 …|qemu_system_x86| -object memory-backend-file,size=1G,mem-path=/dev/hugepages/my-shmem-file,share,… 61 ivshmem-server also supports hugepages mount points with the ``-m``
|
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | max_guest_memory_test.c | 172 bool hugepages = false; in main() local 205 hugepages = true; in main() 222 fd = kvm_memfd_alloc(slot_size, hugepages); in main()
|
/openbmc/qemu/docs/devel/migration/ |
H A D | postcopy.rst | 77 the first Discard being performed, hugepages are switched off 249 Postcopy with hugepages 254 a) The linux kernel on the destination must support userfault on hugepages. 257 c) Note that ``-mem-path /dev/hugepages`` will fall back to allocating normal 258 RAM if it doesn't have enough hugepages, triggering (b) to fail. 259 Using ``-mem-prealloc`` enforces the allocation using hugepages. 261 hugepages works well, however 1GB hugepages are likely to be problematic
|
/openbmc/linux/Documentation/features/vm/THP/ |
H A D | arch-support.txt | 4 # description: arch supports transparent hugepages
|
/openbmc/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)
|
/openbmc/u-boot/board/freescale/ls2080a/ |
H A D | README | 26 hugepages=16 mem=2048M'
|
/openbmc/u-boot/configs/ |
H A D | ls2080a_emu_defconfig | 13 …n=uart8250,mmio,0x21c0500 ramdisk_size=0x2000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
|
H A D | lx2160aqds_tfa_defconfig | 15 …1c0000 ramdisk_size=0x2000000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_p…
|
H A D | ls2080a_simu_defconfig | 13 …n=uart8250,mmio,0x21c0500 ramdisk_size=0x2000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
|
H A D | lx2160ardb_tfa_defconfig | 16 …1c0000 ramdisk_size=0x2000000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_p…
|
H A D | ls1088aqds_defconfig | 13 …n=uart8250,mmio,0x21c0500 ramdisk_size=0x3000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
|
H A D | lx2160ardb_tfa_SECURE_BOOT_defconfig | 16 …1c0000 ramdisk_size=0x2000000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_p…
|
H A D | ls1088aqds_qspi_defconfig | 15 …n=uart8250,mmio,0x21c0500 ramdisk_size=0x3000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
|
H A D | ls2081ardb_defconfig | 15 …n=uart8250,mmio,0x21c0600 ramdisk_size=0x2000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
|
H A D | lx2160aqds_tfa_SECURE_BOOT_defconfig | 15 …1c0000 ramdisk_size=0x2000000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_p…
|
/openbmc/linux/tools/testing/selftests/iommu/ |
H A D | iommufd.c | 1080 bool hugepages; in FIXTURE_VARIANT() local 1100 if (variant->hugepages) { in FIXTURE_SETUP() 1118 .hugepages = false, in FIXTURE_VARIANT_ADD() 1124 .hugepages = false, in FIXTURE_VARIANT_ADD() 1130 .hugepages = true, in FIXTURE_VARIANT_ADD() 1136 .hugepages = true, in FIXTURE_VARIANT_ADD() 1216 size_t test_step = variant->hugepages ? (self->mmap_buf_size / 16) : in TEST_F() 1233 if (variant->hugepages) in TEST_F() 1257 size_t test_step = variant->hugepages ? self->mmap_buf_size / 16 : in TEST_F() 1274 if (variant->hugepages) in TEST_F()
|