From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756565AbbEEHaU (ORCPT ); Tue, 5 May 2015 03:30:20 -0400 Received: from mta-out1.inet.fi ([62.71.2.195]:41854 "EHLO kirsi1.inet.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752667AbbEEHaM (ORCPT ); Tue, 5 May 2015 03:30:12 -0400 Date: Tue, 5 May 2015 10:29:52 +0300 From: "Kirill A. Shutemov" To: Andrew Morton Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrea Arcangeli , Borislav Petkov , Hugh Dickins , Linus Torvalds Subject: Re: [PATCH 0/2] Reintroduce picky __compound_tail_refcounted() Message-ID: <20150505072952.GA9414@node.dhcp.inet.fi> References: <1430238298-80442-1-git-send-email-kirill.shutemov@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1430238298-80442-1-git-send-email-kirill.shutemov@linux.intel.com> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 28, 2015 at 07:24:56PM +0300, Kirill A. Shutemov wrote: > 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(-) Ping? -- Kirill A. Shutemov