diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2014-12-13 01:54:39 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-13 21:42:46 +0100 |
commit | 1acf2e040721564d579297646862b8ea3dd4511b (patch) | |
tree | c51ec6206f123b9d09caed4878d4958314d497db /mm/memory.c | |
parent | mm/memory-failure: share the i_mmap_rwsem (diff) | |
download | linux-1acf2e040721564d579297646862b8ea3dd4511b.tar.xz linux-1acf2e040721564d579297646862b8ea3dd4511b.zip |
mm/nommu: share the i_mmap_rwsem
Shrinking/truncate logic can call nommu_shrink_inode_mappings() to verify
that any shared mappings of the inode in question aren't broken (dead
zone). afaict the only user being ramfs to handle the size change
attribute.
Pretty much a no-brainer to share the lock.
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
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: Rik van Riel <riel@redhat.com>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.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/memory.c')
0 files changed, 0 insertions, 0 deletions