mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
sched: Move sched_domains_numa_masks_clear() to DOWN_PREPARE
This is the last operation on the cpu before vanishing. No point in calling that on CPU_DEAD. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra <peterz@infradead.org> Cc: rt@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
135fb3e197
commit
c6d2c7475c
1 changed files with 0 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue