Skip to content

Commit

Permalink
powerpc/mm: Remove debug context clamping from nohash code
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Benjamin Herrenschmidt authored and ozbenh committed Nov 5, 2009
1 parent 5a1eb5c commit f1167fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/mm/mmu_context_nohash.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f1167fb

Please sign in to comment.