diff options
author | Davidlohr Bueso <[email protected]> | 2014-12-12 16:54:30 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-12-13 12:42:45 -0800 |
commit | 4a23717a236b2ab31efb1651f586126789fc997f (patch) | |
tree | d7123a21a93fff2ee555d76420504329f371a804 /tools/perf/scripts/python/sctop.py | |
parent | 3dec0ba0be6a532cac949e02b853021bf6d57dad (diff) |
uprobes: share the i_mmap_rwsem
Both register and unregister call build_map_info() in order to create the
list of mappings before installing or removing breakpoints for every mm
which maps file backed memory. As such, there is no reason to hold the
i_mmap_rwsem exclusively, so share it and allow concurrent readers to
build the mapping data.
Signed-off-by: Davidlohr Bueso <[email protected]>
Acked-by: Srikar Dronamraju <[email protected]>
Acked-by: "Kirill A. Shutemov" <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Acked-by: Hugh Dickins <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Rik van Riel <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions