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: NMuchun Song <songmuchun@bytedance.com> Signed-off-by: NPeter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20200421144123.33580-1-songmuchun@bytedance.com
Showing
想要评论请 注册 或 登录