From: Kirill Tkhai Date: Mon, 22 Sep 2014 18:36:24 +0000 (+0400) Subject: sched: Use dl_bw_of() under RCU read lock X-Git-Tag: omap-for-v3.19/prcm-cleanup~94^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66339c31bc3978d5fff9c4b4cb590a861def4db2;p=pandora-kernel.git 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 Signed-off-by: Peter Zijlstra (Intel) Cc: # v3.14+ Cc: Paul E. McKenney Cc: Linus Torvalds Link: http://lkml.kernel.org/r/20140922183624.11015.71558.stgit@localhost Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed