diff options
| author | Omar Sandoval <[email protected]> | 2018-08-21 21:55:06 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2018-08-22 10:52:46 -0700 |
| commit | 3673fb08db73347332ab956d90090c1da6e610b7 (patch) | |
| tree | 2a20a282b5387e9894fc250db816277b0ebb2712 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | b66fb005c97544e9e589b2f2e60ccfe3808c6c3e (diff) | |
proc/kcore: hold lock during read
Now that we're using an rwsem, we can hold it during the entirety of
read_kcore() and have a common return path. This is preparation for the
next change.
[[email protected]: fix locking bug reported by Tetsuo Handa]
Link: http://lkml.kernel.org/r/d7cfbc1e8a76616f3b699eaff9df0a2730380534.1531953780.git.osandov@fb.com
Signed-off-by: Omar Sandoval <[email protected]>
Cc: Alexey Dobriyan <[email protected]>
Cc: Bhupesh Sharma <[email protected]>
Cc: Eric Biederman <[email protected]>
Cc: James Morse <[email protected]>
Cc: Tetsuo Handa <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions