From 44ac7f665cb3c303a384afb912e0c8b9bb089693 Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Sun, 24 Jul 2011 16:33:14 +0000 Subject: [PATCH] --- yaml --- r: 274166 b: refs/heads/master c: d4761ad2ef18ec2c9a0037d6649c0afc4a7b907d h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/powerpc/include/asm/topology.h | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index fe8d4897cdd5..990368c4e065 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 590e4d857153c5d4cf86052cdfd42cf9b0779841 +refs/heads/master: d4761ad2ef18ec2c9a0037d6649c0afc4a7b907d diff --git a/trunk/arch/powerpc/include/asm/topology.h b/trunk/arch/powerpc/include/asm/topology.h index 6a7e7251cc02..d1c1d312f808 100644 --- a/trunk/arch/powerpc/include/asm/topology.h +++ b/trunk/arch/powerpc/include/asm/topology.h @@ -28,6 +28,12 @@ struct device_node; */ #define RECLAIM_DISTANCE 10 +/* + * Avoid creating an extra level of balancing (SD_ALLNODES) on the largest + * POWER7 boxes which have a maximum of 32 nodes. + */ +#define SD_NODES_PER_DOMAIN 32 + #include static inline int cpu_to_node(int cpu)