]> git.baikalelectronics.ru Git - kernel.git/commit
mm: memory: remove ->vm_file check on shared writable vmas
authorJohannes Weiner <hannes@cmpxchg.org>
Tue, 10 Feb 2015 22:11:28 +0000 (14:11 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Feb 2015 22:30:33 +0000 (14:30 -0800)
commit74ec67511d36f9c731065b1dae7d9638a3b639d3
tree97d5265cbe2418404ded25100c2e94ac462ec29d
parentd9ecee281b8f89da6d3203be62802eda991e37cc
mm: memory: remove ->vm_file check on shared writable vmas

Shared anonymous mmaps are implemented with shmem files, so all VMAs with
shared writable semantics also have an underlying backing file.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory.c