projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0e5e46
)
powerpc/numa: Disable VPHN on dedicated processor partitions
author
Anton Blanchard
<anton@samba.org>
Sat, 29 Jan 2011 12:35:22 +0000
(12:35 +0000)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Mon, 7 Feb 2011 02:06:04 +0000
(13:06 +1100)
There is no need to start up the timer and monitor topology changes on a
dedicated processor partition, so disable it.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/numa.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/mm/numa.c
b/arch/powerpc/mm/numa.c
index d07cd08747e5e59b23c9b6426e2c0a88d2cfb75a..3cf33494a5ae9d5cd0fccbb97d7ac4f50ebc2bbf 100644
(file)
--- a/
arch/powerpc/mm/numa.c
+++ b/
arch/powerpc/mm/numa.c
@@
-1516,7
+1516,8
@@
int start_topology_update(void)
{
int rc = 0;
- if (firmware_has_feature(FW_FEATURE_VPHN)) {
+ if (firmware_has_feature(FW_FEATURE_VPHN) &&
+ get_lppaca()->shared_proc) {
vphn_enabled = 1;
setup_cpu_associativity_change_counters();
init_timer_deferrable(&topology_timer);