Skip to content

Instantly share code, notes, and snippets.

@adam-lee
Created December 22, 2015 02:30
Show Gist options
  • Save adam-lee/9ef9eabbf843c7509030 to your computer and use it in GitHub Desktop.
Save adam-lee/9ef9eabbf843c7509030 to your computer and use it in GitHub Desktop.
f3ca10dde49043fbbb055854278b26954b549b36 is the first bad commit
commit f3ca10dde49043fbbb055854278b26954b549b36
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Wed Apr 22 09:44:36 2015 -0700
Revert "mm: avoid tail page refcounting on non-THP compound pages"
This reverts commit 8d63d99a5dfbdb997d12dd3c07b2070ca723db3b.
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>
:040000 040000 efc1d8459327dfffed3b7868e806dc98eba5d1f5 6570d906b430f470c6e5365efd4d0aa242125861 M include
adam@frank:~/Code/linux$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment