]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "mm: avoid tail page refcounting on non-THP compound pages"
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 22 Apr 2015 16:44:36 +0000 (09:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 22 Apr 2015 16:44:36 +0000 (09:44 -0700)
commit22fba739af3cb9c53f9a7838d6e9c89c9c3d192d
tree1358fc0cb8167b6294ec8d3a37d3e349d512c843
parent80a69c53e8f785703ea1c6b28bc0c3b0ab3bfd20
Revert "mm: avoid tail page refcounting on non-THP compound pages"

This reverts commit 565d976fa0d05f93d8bdd7a7ed780f909574cafe.

It causes in VM mapping refcount errors:

  page:ffffea0010a15040 count:0 mapcount:1 mapping:          (null) index:0x0
  flags: 0x8000000000008014(referenced|dirty|tail)
  page dumped because: VM_BUG_ON_PAGE(page_mapcount(page) != 0)
  ------------[ cut here ]------------
  kernel BUG at mm/swap.c:134!

as reported by Borislav Petkov

Reported-and-tested-by: Borislav Petkov <bp@alien8.de>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Hugh Dickins <hughd@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-mm@kvack.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h