Davidlohr Bueso 4a23717a23 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>
2014-12-13 12:42:45 -08:00
..
2014-12-13 12:42:45 -08:00
2014-10-29 16:33:14 -07:00
2014-12-08 20:00:44 +01:00
2014-10-09 22:26:04 -04:00
2014-10-09 22:26:04 -04:00
2014-11-11 14:20:22 -05:00
2014-09-23 16:37:51 -04:00
2014-11-19 13:01:26 -05:00
2014-08-08 15:57:18 -07:00
2014-11-18 02:49:52 -05:00
2014-11-03 19:21:01 -08:00
2014-09-10 15:42:12 -07:00
2014-12-10 17:41:10 -08:00
2014-12-10 17:41:10 -08:00
2014-12-10 17:41:10 -08:00
2014-11-19 13:01:25 -05:00
2014-08-08 15:57:22 -07:00