The following commit has been merged in the linux branch: commit f1167fb318f0ff0bcb9cbb57bb6d16ad450f0cfb Author: Benjamin Herrenschmidt benh@au1.ibm.com Date: Wed Nov 4 13:39:52 2009 +0000
powerpc/mm: Remove debug context clamping from nohash code
I inadvertently left that debug code enabled, causing the number of contexts to be clamped to 31 which is going to slow things down on 4xx and just plain breaks 8xx
Signed-off-by: Benjamin Herrenschmidt benh@kernel.crashing.org
diff --git a/arch/powerpc/mm/mmu_context_nohash.c b/arch/powerpc/mm/mmu_context_nohash.c index c2f93dc..be4f34c 100644 --- a/arch/powerpc/mm/mmu_context_nohash.c +++ b/arch/powerpc/mm/mmu_context_nohash.c @@ -25,8 +25,8 @@ * also clear mm->cpu_vm_mask bits when processes are migrated */
-#define DEBUG_MAP_CONSISTENCY -#define DEBUG_CLAMP_LAST_CONTEXT 31 +//#define DEBUG_MAP_CONSISTENCY +//#define DEBUG_CLAMP_LAST_CONTEXT 31 //#define DEBUG_HARDER
/* We don't use DEBUG because it tends to be compiled in always nowadays