Home
last modified time | relevance | path

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

/Linux-v4.19/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 …]
Dmempolicy.c2011 unsigned long addr, int node, bool hugepage) in alloc_pages_vma() argument
2029 if (unlikely(IS_ENABLED(CONFIG_TRANSPARENT_HUGEPAGE) && hugepage)) { in alloc_pages_vma()
/Linux-v4.19/Documentation/vm/
Dtranshuge.rst13 - "graceful fallback": mm components which don't have transparent hugepage
15 if necessary, split a transparent hugepage. Therefore these components
18 - if a hugepage allocation fails because of memory fragmentation,
31 is not specific to transparent hugepage support and it's a generic
38 get_user_pages and follow_page if run on a hugepage, will return the
53 hugepage backed mappings.
59 follow_page because it's not hugepage aware and in fact it can't work
71 pmd_offset. It's trivial to make the code transparent hugepage aware
76 hugepage aware.
78 If you're not walking pagetables but you run into a physical hugepage
[all …]
Dhwpoison.rst183 - Right now hugepage support is missing.
/Linux-v4.19/tools/testing/selftests/vm/
D.gitignore1 hugepage-mmap
2 hugepage-shm
DMakefile12 TEST_GEN_FILES += hugepage-mmap
13 TEST_GEN_FILES += hugepage-shm
Drun_vmtests67 ./hugepage-mmap
82 ./hugepage-shm
/Linux-v4.19/Documentation/
Ddontdiff140 hugepage-mmap
141 hugepage-shm
/Linux-v4.19/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-v4.19/arch/powerpc/mm/
DMakefile39 obj-$(CONFIG_TRANSPARENT_HUGEPAGE) += hugepage-hash64.o
/Linux-v4.19/Documentation/cgroup-v1/
Dhugetlb.txt35 For a system supporting two hugepage size (16M and 16G) the control
/Linux-v4.19/include/linux/
Dgfp.h513 int node, bool hugepage);
/Linux-v4.19/Documentation/trace/
Devents-kmem.rst119 pageblock_size is usually the size of the default hugepage size.
/Linux-v4.19/Documentation/sysctl/
Dvm.txt530 Change the minimum size of the hugepage pool.
538 Change the size of the hugepage pool at run-time on a specific
547 Change the maximum size of the hugepage pool. The maximum is
/Linux-v4.19/Documentation/filesystems/
Dproc.txt453 "AnonHugePages" shows the ammount of memory backed by transparent hugepage.
815 A page block is typically the size of the default hugepage size e.g. 2MB on