Skip to content

Commit

Permalink
sched: Move sched_domains_numa_masks_clear() to DOWN_PREPARE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Gleixner committed May 6, 2016
1 parent 135fb3e commit c6d2c74
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions kernel/sched/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c6d2c74

Please sign in to comment.