Davidlohr Bueso
c8c06efa8b
mm: convert i_mmap_mutex to rwsem
...
The i_mmap_mutex is a close cousin of the anon vma lock, both protecting
similar data, one for file backed pages and the other for anon memory. To
this end, this lock can also be a rwsem. In addition, there are some
important opportunities to share the lock when there are no tree
modifications.
This conversion is straightforward. For now, all users take the write
lock.
[sfr@canb.auug.org.au: update fremap.c]
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Reviewed-by: Rik van Riel <riel@redhat.com>
Acked-by: "Kirill A. Shutemov" <kirill@shutemov.name>
Acked-by: Hugh Dickins <hughd@google.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
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-11-19 13:01:20 -05:00
2014-08-08 15:57:24 -07:00
2014-11-19 13:01:20 -05:00
2014-12-11 14:27:06 -08:00
2014-11-19 13:01:20 -05:00
2014-11-19 13:01:20 -05:00
2014-08-08 15:57:24 -07:00
2014-12-12 11:15:23 -08:00
2014-11-19 13:01:20 -05:00
2014-12-08 20:39:29 -05:00
2014-12-10 18:34:42 -08:00
2014-11-03 15:20:29 -05:00
2014-11-19 13:01:20 -05:00
2014-08-08 15:57:25 -07:00
2014-11-19 13:02:53 -05:00
2014-06-06 16:08:14 -07:00
2014-12-10 16:10:49 -08:00
2014-11-19 13:01:25 -05:00
2014-12-10 16:10:49 -08:00
2014-08-08 15:57:18 -07:00
2014-10-19 20:22:32 +03:00
2014-11-03 15:20:29 -05:00
2014-11-10 10:06:10 +01:00
2014-11-10 10:06:10 +01:00
2014-12-12 09:28:03 -08:00
2014-12-08 14:19:09 -08:00
2014-12-10 16:10:49 -08:00
2014-10-13 17:52:21 +01:00
2014-11-19 13:01:20 -05:00
2014-12-10 16:10:49 -08:00
2014-12-10 17:41:16 -08:00
2014-06-12 10:30:18 -07:00
2014-08-07 14:40:09 -04:00
2014-08-08 15:57:22 -07:00
2014-10-31 17:48:54 -04:00
2014-12-13 12:42:45 -08:00
2014-11-19 13:09:37 -05:00
2014-11-18 10:15:29 +01:00
2014-12-12 09:28:03 -08:00
2014-10-09 02:39:01 -04:00
2014-12-10 16:10:49 -08:00
2014-11-19 13:01:20 -05:00
2014-12-10 16:10:49 -08:00
2014-08-06 18:01:12 -07:00
2014-08-08 15:57:20 -07:00
2014-12-10 18:34:42 -08:00
2014-12-10 16:10:49 -08:00
2014-09-17 16:33:11 -04:00
2014-12-11 14:27:06 -08:00
2014-12-10 17:41:16 -08:00
2014-12-10 16:10:49 -08:00
2014-11-19 13:01:20 -05:00
2014-12-10 18:34:42 -08:00
2014-10-14 02:18:22 +02:00
2014-12-08 20:39:29 -05:00
2014-12-10 18:34:42 -08:00
2014-12-11 13:38:31 -08:00
2014-08-08 15:57:26 -07:00
2014-11-10 10:06:18 +01:00
2014-08-08 15:57:18 -07:00
2014-12-12 10:08:06 -08:00
2014-08-08 15:57:25 -07:00
2014-08-06 18:01:13 -07:00
2014-11-07 12:32:22 +02:00
2014-11-19 21:56:06 +01:00
2014-10-14 02:18:20 +02:00
2014-12-12 09:48:17 -08:00
2014-11-25 18:55:44 -08:00
2014-06-10 13:57:22 -07:00
2014-08-07 14:40:09 -04:00
2014-11-19 13:01:20 -05:00
2014-10-09 02:39:00 -04:00
2014-12-11 17:56:37 -08:00
2014-06-04 16:54:21 -07:00
2014-12-10 17:41:12 -08:00
2014-11-17 10:35:17 +00:00
2014-10-21 13:55:11 -06:00
2014-12-10 17:41:04 -08:00
2014-07-11 13:53:04 +03:00
2014-10-31 17:48:54 -04:00
2014-10-14 02:18:21 +02:00
2014-12-08 20:39:29 -05:00
2014-09-26 21:16:51 -04:00
2014-06-06 16:08:16 -07:00
2014-11-05 14:13:23 -05:00
2014-11-05 14:13:23 -05:00
2014-11-18 02:01:40 +01:00
2014-09-09 16:01:36 -04:00
2014-10-13 11:28:42 +02:00
2014-12-10 17:41:10 -08:00
2014-08-07 14:40:09 -04:00
2014-07-16 15:10:39 +02:00
2014-12-13 12:42:45 -08:00
2014-10-24 00:14:35 +02:00
2014-11-17 10:35:17 +00:00
2014-10-24 00:14:38 +02:00
2014-11-24 07:45:02 +01:00
2014-11-03 15:20:29 -05:00
2014-10-07 14:06:13 -04:00
2014-11-20 16:39:59 +01:00
2014-06-25 22:08:29 -04:00
2014-10-09 02:38:55 -04:00
2014-10-09 22:25:53 -04:00
2014-11-02 10:28:43 -08:00
2014-10-24 00:14:36 +02:00
2014-11-19 13:01:26 -05:00
2014-08-30 18:31:41 -04:00
2014-07-29 18:08:50 -07:00
2014-10-09 02:39:05 -04:00
2014-10-31 17:48:54 -04:00
2014-10-29 20:26:06 -04:00
2014-11-05 14:13:23 -05:00
2014-10-24 00:14:35 +02:00
2014-08-26 09:35:56 +02:00
2014-11-10 10:06:18 +01:00
2014-11-19 13:01:25 -05:00
2014-11-05 14:13:23 -05:00
2014-11-19 13:01:26 -05:00