aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexey Dobriyan <[email protected]>2012-05-31 16:26:18 -0700
committerLinus Torvalds <[email protected]>2012-05-31 17:49:29 -0700
commitf05ed3f1abefd37c08fbf08c766d2abd40607777 (patch)
treef938f73f6f3ee4bab88ada21212371cd023eca63 /tools/perf/scripts/python
parent2344bec788b097b2d1198758bd29c583812b864e (diff)
proc: don't do dummy rcu_read_lock/rcu_read_unlock on error path
rcu_read_lock()/rcu_read_unlock() is nop for TINY_RCU, but is not a nop for, say, PREEMPT_RCU. proc_fill_cache() is called without RCU lock, there is no need to lock/unlock on error path, simply jump out of the loop. Signed-off-by: Alexey Dobriyan <[email protected]> Cc: "Paul E. McKenney" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions