Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: mm: Fix number of base pages for 1GB HugeTLB

1GB HugeTLB page consists of 262144 base pages.

Signed-off-by: Usama Arif <usama.arif@bytedance.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Acked-by: Mike Rapoport (IBM) <rppt@kernel.org>
Acked-by: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20230207114456.2304801-1-usama.arif@bytedance.com

authored by

Usama Arif and committed by
Jonathan Corbet
17b6fc88 fe118594

+2 -1
+2 -1
Documentation/mm/vmemmap_dedup.rst
··· 1 + 1 2 .. SPDX-License-Identifier: GPL-2.0 2 3 3 4 ========================================= ··· 18 17 architectures. See Documentation/admin-guide/mm/hugetlbpage.rst for more 19 18 details. On the x86-64 architecture, HugeTLB pages of size 2MB and 1GB are 20 19 currently supported. Since the base page size on x86 is 4KB, a 2MB HugeTLB page 21 - consists of 512 base pages and a 1GB HugeTLB page consists of 4096 base pages. 20 + consists of 512 base pages and a 1GB HugeTLB page consists of 262144 base pages. 22 21 For each base page, there is a corresponding ``struct page``. 23 22 24 23 Within the HugeTLB subsystem, only the first 4 ``struct page`` are used to