Skip to content
Commit e1cc6e77 authored by Scott Wood's avatar Scott Wood Committed by Bruce Ashfield
Browse files

sched: migrate disable: Protect cpus_ptr with lock



[ Upstream commit 27ee52a891ed2c7e2e2c8332ccae0de7c2674b09 ]

Various places assume that cpus_ptr is protected by rq/pi locks,
so don't change it before grabbing those locks.

Signed-off-by: default avatarScott Wood <swood@redhat.com>
Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent 40c05cda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment