sched/fair: Use __this_cpu_read() in wake_wide()
authorMuchun Song <songmuchun@bytedance.com>
Tue, 21 Apr 2020 14:41:23 +0000 (22:41 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 30 Apr 2020 18:14:41 +0000 (20:14 +0200)
commit17c891ab349138e8d8a59ca2700f42ce8af96f4e
treeb662d232acd8ac34bc3ee13906501534f93def64
parentbf2c59fce4074e55d622089b34be3a6bc95484fb
sched/fair: Use __this_cpu_read() in wake_wide()

The code is executed with preemption(and interrupts) disabled,
so it's safe to use __this_cpu_write().

Signed-off-by: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200421144123.33580-1-songmuchun@bytedance.com
kernel/sched/fair.c