summaryrefslogtreecommitdiffstats
path: root/arch/sparc/Kconfig
diff options
context:
space:
mode:
authorTejun Heo2009-08-14 08:00:53 +0200
committerTejun Heo2009-08-14 08:00:53 +0200
commitbcb2107fdbecef3de55d597d23453747af81ba88 (patch)
treef5d7095b80a3483f65a58d8eecdb02b06475fa3d /arch/sparc/Kconfig
parentpercpu: kill lpage first chunk allocator (diff)
downloadkernel-qcow2-linux-bcb2107fdbecef3de55d597d23453747af81ba88.tar.gz
kernel-qcow2-linux-bcb2107fdbecef3de55d597d23453747af81ba88.tar.xz
kernel-qcow2-linux-bcb2107fdbecef3de55d597d23453747af81ba88.zip
sparc64: use embedding percpu first chunk allocator
sparc64 currently allocates a large page for each cpu and partially remap them into vmalloc area much like what lpage first chunk allocator did. As a 4M page is used for each cpu, this results in very large unit size and also adds TLB pressure due to the double mapping of pages in the first chunk. This patch converts sparc64 to use the embedding percpu first chunk allocator which now knows how to handle NUMA configurations. This simplifies the code a lot, doesn't incur any extra TLB pressure and results in better utilization of address space. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/Kconfig')
-rw-r--r--arch/sparc/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 4f6ed0f113f0..fbd1233b392d 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -95,6 +95,9 @@ config AUDIT_ARCH
config HAVE_SETUP_PER_CPU_AREA
def_bool y if SPARC64
+config NEED_PER_CPU_EMBED_FIRST_CHUNK
+ def_bool y if SPARC64
+
config GENERIC_HARDIRQS_NO__DO_IRQ
bool
def_bool y if SPARC64