]> err.no Git - linux-2.6/commit
[SPARC64]: Use SPARSEMEM_STATIC
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 15 Mar 2007 05:47:01 +0000 (22:47 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 08:55:22 +0000 (01:55 -0700)
commitd78d0891d3dd976a2fb707c6c691d9cd5ed60727
tree75a1f09a7f316c5cfd6ab3d1dc0e48e89320a200
parent43bed127376ff2ef9c268cf6688a43d0fbed2ff4
[SPARC64]: Use SPARSEMEM_STATIC

Decrease the SECTION_SIZE_BITS --> MAX_PHYSADDR_BITS
range a little bit.

The cost of going to SPARSEMEM_STATIC becomes 8K of BSS space, and in
return we save a pointer dereferences on every page struct lookup.
Even better we hit the main kernel image for the base address which is
in a hugepage locked TLB entry.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/Kconfig
include/asm-sparc64/sparsemem.h