Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6d2c747 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

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: default avatarThomas Gleixner <tglx@linutronix.de>
Acked-by: default avatarPeter Zijlstra <peterz@infradead.org>
Cc: rt@linutronix.de
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 135fb3e1
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -7139,9 +7139,6 @@ static int sched_cpu_inactive(struct notifier_block *nfb,
			set_cpu_active(cpu, true);
			set_cpu_active(cpu, true);
			return notifier_from_errno(ret);
			return notifier_from_errno(ret);
		}
		}
		return NOTIFY_OK;

	case CPU_DEAD:
		sched_domains_numa_masks_clear(cpu);
		sched_domains_numa_masks_clear(cpu);
		return NOTIFY_OK;
		return NOTIFY_OK;
	default:
	default: