Home
last modified time | relevance | path

Searched refs:hugepage (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.4/mm/
Dhugetlb_cgroup.c27 struct page_counter hugepage[HUGE_MAX_HSTATE]; member
64 if (page_counter_read(&h_cg->hugepage[idx])) in hugetlb_cgroup_have_usage()
76 struct page_counter *counter = &h_cgroup->hugepage[idx]; in hugetlb_cgroup_init()
82 parent = &parent_h_cgroup->hugepage[idx]; in hugetlb_cgroup_init()
146 page_counter_charge(&parent->hugepage[idx], nr_pages); in hugetlb_cgroup_move_parent()
148 counter = &h_cg->hugepage[idx]; in hugetlb_cgroup_move_parent()
205 if (!page_counter_try_charge(&h_cg->hugepage[idx], nr_pages, &counter)) in hugetlb_cgroup_charge_cgroup()
240 page_counter_uncharge(&h_cg->hugepage[idx], nr_pages); in hugetlb_cgroup_uncharge_page()
253 page_counter_uncharge(&h_cg->hugepage[idx], nr_pages); in hugetlb_cgroup_uncharge_cgroup()
270 counter = &h_cg->hugepage[MEMFILE_IDX(cft->private)]; in hugetlb_cgroup_read_u64()
[all …]
DKconfig730 # Some architectures require a special hugepage directory format that is
731 # required to support multiple hugepage sizes. For example a4fe3ce76
732 # "powerpc/mm: Allow more flexible layouts for hugepage pagetables"
733 # introduced it on powerpc. This allows for a more flexible hugepage
Dmempolicy.c2099 unsigned long addr, int node, bool hugepage) in alloc_pages_vma() argument
2117 if (unlikely(IS_ENABLED(CONFIG_TRANSPARENT_HUGEPAGE) && hugepage)) { in alloc_pages_vma()
/Linux-v5.4/Documentation/vm/
Dtranshuge.rst14 - "graceful fallback": mm components which don't have transparent hugepage
16 if necessary, split a transparent hugepage. Therefore these components
19 - if a hugepage allocation fails because of memory fragmentation,
32 is not specific to transparent hugepage support and it's a generic
39 get_user_pages and follow_page if run on a hugepage, will return the
54 hugepage backed mappings.
66 pmd_offset. It's trivial to make the code transparent hugepage aware
71 hugepage aware.
73 If you're not walking pagetables but you run into a physical hugepage
76 it tries to swapout the hugepage for example. split_huge_page() can fail
[all …]
Dhwpoison.rst183 - Right now hugepage support is missing.
/Linux-v5.4/tools/testing/selftests/vm/
D.gitignore1 hugepage-mmap
2 hugepage-shm
DMakefile8 TEST_GEN_FILES += hugepage-mmap
9 TEST_GEN_FILES += hugepage-shm
Drun_vmtests67 ./hugepage-mmap
82 ./hugepage-shm
/Linux-v5.4/Documentation/arm64/
Dhugetlbpage.rst18 mappings reduce the depth of page table walk needed to translate hugepage
33 The following hugepage sizes are supported -
/Linux-v5.4/Documentation/
Ddontdiff140 hugepage-mmap
141 hugepage-shm
/Linux-v5.4/Documentation/admin-guide/mm/
Dtranshuge.rst61 entities). It doesn't require reservation to prevent hugepage
71 lived page allocations even for hugepage unaware applications that
159 library) may want to know the size (in bytes) of a transparent hugepage::
189 and how many milliseconds to wait in khugepaged if there's an hugepage
234 You can control hugepage allocation policy in tmpfs with mount option
256 There's also sysfs knob to control hugepage allocation policy for internal
408 memory region, the mmap region has to be hugepage naturally
414 You can use hugetlbfs on a kernel that has transparent hugepage
Dhugetlbpage.rst64 is the default hugepage size (in Kb).
218 When adjusting the persistent hugepage count via ``nr_hugepages_mempolicy``, any
361 not hugepage aligned. For example, munmap(2) will fail if memory is backed by
362 a hugetlb page and the length is smaller than the hugepage size.
373 ``hugepage-shm``
374 see tools/testing/selftests/vm/hugepage-shm.c
376 ``hugepage-mmap``
377 see tools/testing/selftests/vm/hugepage-mmap.c
Duserfaultfd.rst38 Vmas are not suitable for page- (or hugepage) granular fault tracking
/Linux-v5.4/Documentation/admin-guide/cgroup-v1/
Dhugetlb.rst36 For a system supporting three hugepage sizes (64k, 32M and 1G), the control
/Linux-v5.4/include/linux/
Dgfp.h536 int node, bool hugepage);
/Linux-v5.4/Documentation/trace/
Devents-kmem.rst119 pageblock_size is usually the size of the default hugepage size.
/Linux-v5.4/Documentation/admin-guide/sysctl/
Dvm.rst546 Change the minimum size of the hugepage pool.
554 Change the size of the hugepage pool at run-time on a specific
563 Change the maximum size of the hugepage pool. The maximum is
/Linux-v5.4/Documentation/filesystems/
Dproc.txt477 "AnonHugePages" shows the ammount of memory backed by transparent hugepage.
856 A page block is typically the size of the default hugepage size e.g. 2MB on