diff options
| author | Davidlohr Bueso <[email protected]> | 2014-12-13 00:54:33 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-12-13 20:42:45 +0000 |
| commit | 874bfcaf79e39135cd31e1cfc9265cf5222d1ec3 (patch) | |
| tree | 5a1406cdca818914446b73213f417e63531397d6 /lib/bitmap.c | |
| parent | uprobes: share the i_mmap_rwsem (diff) | |
| download | kernel-874bfcaf79e39135cd31e1cfc9265cf5222d1ec3.tar.gz kernel-874bfcaf79e39135cd31e1cfc9265cf5222d1ec3.zip | |
mm/xip: share the i_mmap_rwsem
__xip_unmap() will remove the xip sparse page from the cache and take down
pte mapping, without altering the interval tree, thus share the
i_mmap_rwsem when searching for the ptes to unmap.
Additionally, tidy up the function a bit and make variables only local to
the interval tree walk loop.
Signed-off-by: Davidlohr Bueso <[email protected]>
Acked-by: "Kirill A. Shutemov" <[email protected]>
Acked-by: Hugh Dickins <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Srikar Dronamraju <[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 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions
