projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
135fb3e
)
sched: Move sched_domains_numa_masks_clear() to DOWN_PREPARE
author
Thomas Gleixner
<
[email protected]
>
Thu, 10 Mar 2016 11:54:12 +0000
(12:54 +0100)
committer
Thomas Gleixner
<
[email protected]
>
Fri, 6 May 2016 12:58:23 +0000
(14:58 +0200)
This is the last operation on the cpu before vanishing. No point in calling
that on CPU_DEAD.
Signed-off-by: Thomas Gleixner <
[email protected]
>
Acked-by: Peter Zijlstra <
[email protected]
>
Cc:
[email protected]
Signed-off-by: Thomas Gleixner <
[email protected]
>
kernel/sched/core.c
patch
|
blob
|
history
diff --git
a/kernel/sched/core.c
b/kernel/sched/core.c
index 8a03a04f5c3a777ee4be4f983dfae7d25487e2fc..541f9ab8ce4f1b6b94ac39385c20c717324e1137 100644
(file)
--- a/
kernel/sched/core.c
+++ b/
kernel/sched/core.c
@@
-7139,9
+7139,6
@@
static int sched_cpu_inactive(struct notifier_block *nfb,
set_cpu_active(cpu, true);
return notifier_from_errno(ret);
}
- return NOTIFY_OK;
-
- case CPU_DEAD:
sched_domains_numa_masks_clear(cpu);
return NOTIFY_OK;
default: