summaryrefslogtreecommitdiff
path: root/mm/kmemleak-test.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2014-12-13 00:54:30 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-13 20:42:45 (GMT)
commit4a23717a236b2ab31efb1651f586126789fc997f (patch)
treed7123a21a93fff2ee555d76420504329f371a804 /mm/kmemleak-test.c
parent3dec0ba0be6a532cac949e02b853021bf6d57dad (diff)
downloadlinux-4a23717a236b2ab31efb1651f586126789fc997f.tar.xz
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 <dbueso@suse.de> Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Acked-by: "Kirill A. Shutemov" <kirill@shutemov.name> Cc: Oleg Nesterov <oleg@redhat.com> Acked-by: Hugh Dickins <hughd@google.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Rik van Riel <riel@redhat.com> Acked-by: Mel Gorman <mgorman@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/kmemleak-test.c')
0 files changed, 0 insertions, 0 deletions