Home
last modified time | relevance | path

Searched refs:huge (Results 1 – 25 of 89) sorted by relevance

1234

/Linux-v4.19/Documentation/admin-guide/mm/
Dhugetlbpage.rst21 Users can use the huge page support in Linux kernel by either using the mmap
30 persistent hugetlb pages in the kernel's huge page pool. It also displays
31 default huge page size and information about the number of free, reserved
32 and surplus huge pages in the pool of huge pages of default size.
33 The huge page size is needed for generating the proper alignment and
34 size of the arguments to system calls that map huge page regions.
48 is the size of the pool of huge pages.
50 is the number of huge pages in the pool that are not yet
53 is short for "reserved," and is the number of huge pages for
55 but no allocation has yet been made. Reserved huge pages
[all …]
Dtranshuge.rst13 using huge pages for the backing of virtual memory with huge pages
22 the huge page size is 2M, although the actual numbers may vary
53 collapses sequences of basic pages into huge pages.
151 By default kernel tries to use huge zero page on read page fault to
152 anonymous mapping. It's possible to disable huge zero page by writing 0
214 swap when collapsing a group of pages into a transparent huge page::
235 ``huge=``. It can have following values:
238 Attempt to allocate huge pages every time we need a new page;
241 Do not allocate huge pages;
244 Only allocate huge page if it will be fully within i_size.
[all …]
Dconcepts.rst81 `huge`. Usage of huge pages significantly reduces pressure on TLB,
85 memory with the huge pages. The first one is `HugeTLB filesystem`, or
88 the memory and mapped using huge pages. The hugetlbfs is described at
91 Another, more recent, mechanism that enables use of the huge pages is
94 the system memory should and can be mapped by the huge pages, THP
204 buffer for DMA, or when THP allocates a huge page. Memory `compaction`
Didle_page_tracking.rst44 For huge pages the idle flag is set only on the head page, so one has to read
45 ``/proc/kpageflags`` in order to correctly count idle huge pages.
/Linux-v4.19/Documentation/vm/
Dhugetlbfs_reserv.rst11 preallocated for application use. These huge pages are instantiated in a
12 task's address space at page fault time if the VMA indicates huge pages are
13 to be used. If no huge page exists at page fault time, the task is sent
14 a SIGBUS and often dies an unhappy death. Shortly after huge page support
16 of huge pages at mmap() time. The idea is that if there were not enough
17 huge pages to cover the mapping, the mmap() would fail. This was first
19 were enough free huge pages to cover the mapping. Like most things in the
21 'reserve' huge pages at mmap() time to ensure that huge pages would be
23 describe how huge page reserve processing is done in the v4.10 kernel.
36 This is a global (per-hstate) count of reserved huge pages. Reserved
[all …]
Dtranshuge.rst14 knowledge fall back to breaking huge pmd mapping into table of ptes and,
42 is complete, so they won't ever notice the fact the page is huge. But
69 Code walking pagetables but unaware about huge pmds can simply call
104 To make pagetable walks huge pmd aware, all you need to do is to call
106 mmap_sem in read (or write) mode to be sure an huge pmd cannot be
112 page table lock will prevent the huge pmd to be converted into a
116 before. Otherwise you can proceed to process the huge pmd and the
119 Refcounts and transparent huge pages
134 (stored in first tail page). For file huge pages, we also increment
161 requests to split pinned huge page: it expects page count to be equal to
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/
Dhash.h99 pte_t *ptep, unsigned long pte, int huge);
106 int huge) in hash__pte_update() argument
124 if (!huge) in hash__pte_update()
129 hpte_need_flush(mm, addr, ptep, old, huge); in hash__pte_update()
Dradix.h152 int huge) in radix__pte_update() argument
157 if (!huge) in radix__pte_update()
/Linux-v4.19/drivers/gpu/drm/ttm/
Dttm_page_alloc.c221 static struct ttm_page_pool *ttm_get_pool(int flags, bool huge, in ttm_get_pool() argument
235 if (huge) in ttm_get_pool()
239 } else if (huge) { in ttm_get_pool()
713 struct ttm_page_pool *huge = ttm_get_pool(flags, true, cstate); in ttm_put_pages() local
758 if (huge) { in ttm_put_pages()
761 spin_lock_irqsave(&huge->lock, irq_flags); in ttm_put_pages()
776 list_add_tail(&pages[i]->lru, &huge->list); in ttm_put_pages()
780 huge->npages++; in ttm_put_pages()
786 if (huge->npages > max_size) in ttm_put_pages()
787 n2free = huge->npages - max_size; in ttm_put_pages()
[all …]
/Linux-v4.19/mm/
Dshmem.c419 static const char *shmem_format_huge(int huge) in shmem_format_huge() argument
421 switch (huge) { in shmem_format_huge()
578 (shmem_huge == SHMEM_HUGE_FORCE || sbinfo->huge) && in is_huge_enabled()
1498 pgoff_t index, bool huge) in shmem_alloc_and_acct_page() argument
1506 huge = false; in shmem_alloc_and_acct_page()
1507 nr = huge ? HPAGE_PMD_NR : 1; in shmem_alloc_and_acct_page()
1512 if (huge) in shmem_alloc_and_acct_page()
1769 switch (sbinfo->huge) { in shmem_getpage_gfp()
2089 if (SHMEM_SB(sb)->huge == SHMEM_HUGE_NEVER) in shmem_get_unmapped_area()
3366 int huge; in shmem_parse_options() local
[all …]
DKconfig224 with the reduced number of transparent huge pages that could be used
257 to the processors accessing. The second is when allocating huge
258 pages as migration can relocate pages to satisfy a huge page
384 Transparent Hugepages allows the kernel to use huge pages and
385 huge tlb transparently to the applications whenever possible.
424 Swap transparent huge pages in one piece, without splitting.
425 XXX: For now, swap cluster backing transparent huge page
/Linux-v4.19/arch/alpha/lib/
Dev6-clear_user.S86 subq $1, 16, $4 # .. .. .. E : If < 16, we can not use the huge loop
87 and $16, 0x3f, $2 # .. .. E .. : Forward work for huge loop
88 subq $2, 0x40, $3 # .. E .. .. : bias counter (huge loop)
/Linux-v4.19/arch/powerpc/mm/
Dtlb_hash64.c46 pte_t *ptep, unsigned long pte, int huge) in hpte_need_flush() argument
65 if (huge) { in hpte_need_flush()
/Linux-v4.19/Documentation/features/vm/huge-vmap/
Darch-support.txt2 # Feature name: huge-vmap
/Linux-v4.19/arch/powerpc/include/asm/nohash/64/
Dpgtable.h183 int huge) in pte_update() argument
202 if (!huge) in pte_update()
/Linux-v4.19/tools/testing/selftests/vm/
Drun_vmtests8 mnt=./huge
/Linux-v4.19/Documentation/filesystems/ext4/ondisk/
Dbigalloc.rst9 exceeds the page size. However, for a filesystem of mostly huge files,
/Linux-v4.19/arch/arc/plat-eznps/
Dentry.S43 ; FMT are huge pages for user application reside at 0-2G.
/Linux-v4.19/include/linux/
Dshmem_fs.h34 unsigned char huge; /* Whether to try for hugepages */ member
/Linux-v4.19/Documentation/blockdev/
Dzram.txt111 size of the disk when not in use so a huge zram is wasteful.
263 h: huge page)
266 and the block's state is huge so it is written back to the backing
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm.h157 bool huge; member
/Linux-v4.19/Documentation/usb/
Dmtouchusb.txt71 A huge thank you to 3M Touch Systems for the EXII-5010UC controllers for
/Linux-v4.19/Documentation/scsi/
Dscsi-changer.txt41 None of these is limited to one: A huge Jukebox could have slots for
69 works fine with small (11 slots) and a huge (4 MOs, 88 slots)
/Linux-v4.19/Documentation/ABI/stable/
Dsysfs-devices-node92 The node's huge page size control/query attributes.
/Linux-v4.19/Documentation/
Dhighuid.txt22 properly with huge UIDs. If it can deal with 64-bit file offsets on all

1234