munmap/truncate race fixes
Fixes for racy use of unmap_vmas() on truncate-related codepaths.
Please, pull fromgit://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git vm
Shortlog:
Al Viro (6):
VM: unmap_page_range() can return void
VM: can't go through the inner loop in unmap_vmas() more than once...
VM: make zap_page_range() return void
VM: don't bother with feeding upper limit to tlb_finish_mmu() in exit_mmap()
VM: make unmap_vmas() return void
VM: make zap_page_range() callers that act on a single VMA use separate helper
Diffstat:
include/linux/mm.h | 4 +- mm/memory.c | 133 +++++++++++++++++++++++++++++++--------------------- mm/mmap.c | 5 +- 3 files changed, 84 insertions(+), 58 deletions(-)