Re: [RFC] mm, THP: Map read-only text segments using large THP pages

From: Larry Bassel
Date: Thu May 17 2018 - 10:44:37 EST


On 17 May 18 08:23, Matthew Wilcox wrote:
>
> I can't find any information on what page sizes SPARC supports.
> Maybe you could point me at a reference? All I've managed to find is
> the architecture manuals for SPARC which believe it is not their purpose
> to mandate an MMU.
>

Page sizes of 8K, 64K, 512K, 4M, 32M, 256M, 2G, 16G are allowed
architecturally -- some of these aren't present in some
SPARC machines. Generally 8K, 64K, 4M, 256M, 2G, 16G are
present on modern machines.

Also note that the SPARC THP page size is 8M (so that it is
PMD aligned).

Larry