[patch 06/15] sched: Move sched_domains_numa_masks_clear() to DOWN_PREPARE
From: Thomas Gleixner
Date: Thu Mar 10 2016 - 07:08:30 EST
This is the last operation on the cpu before vanishing. No point in calling
that on CPU_DEAD.
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
---
kernel/sched/core.c | 3 ---
1 file changed, 3 deletions(-)
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -7372,9 +7372,6 @@ static int sched_cpu_inactive(struct not
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: