aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexey Dobriyan <[email protected]>2008-04-29 01:01:39 -0700
committerLinus Torvalds <[email protected]>2008-04-29 08:06:17 -0700
commitf649d6d32605c7573884613289fb3b9fbd4f99a1 (patch)
tree3fe52e6e5e93edc2f011d8047a8e3ac2eee71930 /tools/perf/scripts/python
parent638fa202cdb207083a12d6f73e313605a8fc1037 (diff)
proc: simplify locking in remove_proc_entry()
proc_subdir_lock protects only modifying and walking through PDE lists, so after we've found PDE to remove and actually removed it from lists, there is no need to hold proc_subdir_lock for the rest of operation. Signed-off-by: Alexey Dobriyan <[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