Re: [PATCH] Documentation: vm: Add 1GB large page support information
From: Dave Hansen
Date: Mon Nov 03 2014 - 13:18:39 EST
On 10/31/2014 09:01 AM, Masanari Iida wrote:
> --- a/Documentation/vm/hugetlbpage.txt
> +++ b/Documentation/vm/hugetlbpage.txt
> @@ -2,7 +2,8 @@
> The intent of this file is to give a brief summary of hugetlbpage support in
> the Linux kernel. This support is built on top of multiple page size support
> that is provided by most modern architectures. For example, i386
> -architecture supports 4K and 4M (2M in PAE mode) page sizes, ia64
> +architecture supports 4K and 4M (2M in PAE mode) page sizes, x86_64
> +architecture supports 4K, 2M and 1G (SandyBridge or later) page sizes. ia64
> architecture supports multiple page sizes 4K, 8K, 64K, 256K, 1M, 4M, 16M,
> 256M and ppc64 supports 4K and 16M. A TLB is a cache of virtual-to-physical
> translations. Typically this is a very scarce resource on processor.
I wouldn't mention SandyBridge. Not all x86 CPUs are Intel. :)
Also, what of the Intel CPUs like the Xeon Phi or the Atom cores? I
have an IvyBridge (>= Sandybridge) mobile CPU in this laptop which does
not support 1G pages.
I would axe the i386-specific reference and just say something generic like:
For example, x86 CPUs normally support 4K and 2M (1G sometimes).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/