Skip to contentSkip to conversation

sparc64: Improve large pages wrt. kernel linear mappings.

PATCH New David Miller 1 participant 1 message Sep 7, 2012

lore
Share & tools
lore
#0 lore raw

cover sparc64: Improve large pages wrt. kernel linear mappings.

The main impetus here is to support 2GB pages which SPARC-T4 supports.

But since I was here and I don't really feel like going through this dance again when the next chip supports 16GB pages I decided to do it right.

The page sizes supported by sun4v cpus can be obtained from the machine description, the cpu nodes have a property with a bitmask where bits are set for the page sizes the cpu supports.

So we make use of that and therefore we'll transparently take advantage of whatever page sizes future sun4v cpus can handle.