Revision 4a23717a236b2ab31efb1651f586126789fc997f authored by Davidlohr Bueso on 13 December 2014, 00:54:30 UTC, committed by Linus Torvalds on 13 December 2014, 20:42:45 UTC
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>
1 parent 3dec0ba
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 254 bytes |
af_rose.c | -rw-r--r-- | 37.4 KB |
rose_dev.c | -rw-r--r-- | 3.6 KB |
rose_in.c | -rw-r--r-- | 7.5 KB |
rose_link.c | -rw-r--r-- | 6.7 KB |
rose_loopback.c | -rw-r--r-- | 2.7 KB |
rose_out.c | -rw-r--r-- | 2.8 KB |
rose_route.c | -rw-r--r-- | 31.3 KB |
rose_subr.c | -rw-r--r-- | 12.3 KB |
rose_timer.c | -rw-r--r-- | 4.9 KB |
sysctl_net_rose.c | -rw-r--r-- | 3.3 KB |
Computing file changes ...