linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Reintroduce picky __compound_tail_refcounted()
@ 2015-04-28 16:24 Kirill A. Shutemov
  2015-04-28 16:24 ` [PATCH 1/2] mm: drop bogus VM_BUG_ON_PAGE assert in put_page() codepath Kirill A. Shutemov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kirill A. Shutemov @ 2015-04-28 16:24 UTC (permalink / raw)
  To: Andrew Morton
  Cc: linux-mm, linux-kernel, Andrea Arcangeli, Borislav Petkov,
	Hugh Dickins, Linus Torvalds, Kirill A. Shutemov

Hi Andrew,

My patch 8d63d99a5dfb which was merged during 4.1 merge window caused
regression:

  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!

The patch was reverted by Linus.

This VM_BUG_ON_PAGE() is bogus. The first patch explains why the assert is
wrong and removes it. The second re-introduces original patch.

Kirill A. Shutemov (2):
  mm: drop bogus VM_BUG_ON_PAGE assert in put_page() codepath
  mm: avoid tail page refcounting on non-THP compound pages

 include/linux/mm.h | 2 +-
 mm/swap.c          | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

-- 
2.1.4

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-05  7:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-28 16:24 [PATCH 0/2] Reintroduce picky __compound_tail_refcounted() Kirill A. Shutemov
2015-04-28 16:24 ` [PATCH 1/2] mm: drop bogus VM_BUG_ON_PAGE assert in put_page() codepath Kirill A. Shutemov
2015-04-28 16:24 ` [PATCH 2/2] mm: avoid tail page refcounting on non-THP compound pages Kirill A. Shutemov
2015-05-05  7:29 ` [PATCH 0/2] Reintroduce picky __compound_tail_refcounted() Kirill A. Shutemov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).