Skip to content

Commit c6d2c74

Browse files
committed
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 <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Cc: [email protected] Signed-off-by: Thomas Gleixner <[email protected]>
1 parent 135fb3e commit c6d2c74

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

kernel/sched/core.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7139,9 +7139,6 @@ static int sched_cpu_inactive(struct notifier_block *nfb,
71397139
set_cpu_active(cpu, true);
71407140
return notifier_from_errno(ret);
71417141
}
7142-
return NOTIFY_OK;
7143-
7144-
case CPU_DEAD:
71457142
sched_domains_numa_masks_clear(cpu);
71467143
return NOTIFY_OK;
71477144
default:

0 commit comments

Comments
 (0)