summaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@parallels.com>2014-09-30 12:23:37 +0400
committerIngo Molnar <mingo@kernel.org>2014-10-03 05:46:58 +0200
commitf10e00f4bf360c36edbe6bf18a6c75b171cbe012 (patch)
tree0733366372b97784b82acafa6d0fc0a57f62e27b /init/main.c
parent10a12983b3d437a6998b3845870e52c1c752c101 (diff)
downloadlinux-stable-f10e00f4bf360c36edbe6bf18a6c75b171cbe012.tar.gz
linux-stable-f10e00f4bf360c36edbe6bf18a6c75b171cbe012.tar.bz2
linux-stable-f10e00f4bf360c36edbe6bf18a6c75b171cbe012.zip
sched/dl: Use dl_bw_of() under rcu_read_lock_sched()
rq->rd is freed using call_rcu_sched(), so rcu_read_lock() to access it is not enough. We should use either rcu_read_lock_sched() or preempt_disable(). Reported-by: Sasha Levin <sasha.levin@oracle.com> Suggested-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Kirill Tkhai <ktkhai@parallels.com Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Fixes: 66339c31bc39 "sched: Use dl_bw_of() under RCU read lock" Link: http://lkml.kernel.org/r/1412065417.20287.24.camel@tkhai Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions