]> git.baikalelectronics.ru Git - kernel.git/commit
revert "mm: make sure all file VMAs have ->vm_ops set"
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 17 Sep 2015 23:02:00 +0000 (16:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 18 Sep 2015 04:16:07 +0000 (21:16 -0700)
commit7179cb2621d7e6df0c47f469f38548a7c390a5c2
tree3a05cd1217251a7abe9164f6d6ebdeaeef66c16f
parent5f3d7879357307d976cb52e18db9c26a45fe16af
revert "mm: make sure all file VMAs have ->vm_ops set"

Revert commit 08d8019999cc "mm: make sure all file VMAs have ->vm_ops
set".

Will Deacon reports that it "causes some mmap regressions in LTP, which
appears to use a MAP_PRIVATE mmap of /dev/zero as a way to get anonymous
pages in some of its tests (specifically mmap10 [1])".

William Shuman reports Oracle crashes.

So revert the patch while we work out what to do.

Reported-by: William Shuman <wshuman3@gmail.com>
Reported-by: Will Deacon <will.deacon@arm.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mmap.c