diff options
author | Kirill Tkhai <[email protected]> | 2014-09-22 22:36:24 +0400 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-09-24 14:47:09 +0200 |
commit | 66339c31bc3978d5fff9c4b4cb590a861def4db2 (patch) | |
tree | caf50db970fc626ee5c6d012fb365442c08d07ee /tools/perf/scripts/python | |
parent | 7a96c231ca23f0f5622852307df4209afc502ec3 (diff) |
sched: Use dl_bw_of() under RCU read lock
dl_bw_of() dereferences rq->rd which has to have RCU read lock held.
Probability of use-after-free isn't zero here.
Also add lockdep assert into dl_bw_cpus().
Signed-off-by: Kirill Tkhai <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: <[email protected]> # v3.14+
Cc: Paul E. McKenney <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/20140922183624.11015.71558.stgit@localhost
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions