]> 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)
commit05d19d723b7ac1fabcddc178b8fcd71456e30bb7
tree97d5265cbe2418404ded25100c2e94ac462ec29d
parentda576c59cc3d324efe2d157014358e3a5b8f9355
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