Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752468Ab3DZLj2 (ORCPT ); Fri, 26 Apr 2013 07:39:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:23746 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750929Ab3DZLj1 (ORCPT ); Fri, 26 Apr 2013 07:39:27 -0400 Date: Fri, 26 Apr 2013 07:38:46 -0400 From: Naoya Horiguchi To: Greg Kroah-Hartman Cc: Ben Hutchings , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Rik van Riel , Michal Hocko , HATAYAMA Daisuke , KOSAKI Motohiro , David Rientjes , Andrew Morton , Linus Torvalds Message-ID: <1366976326-nb0h8oyn-mutt-n-horiguchi@ah.jp.nec.com> In-Reply-To: <20130424232329.GA9073@kroah.com> References: <20130423215333.344045754@linuxfoundation.org> <20130423215333.802657218@linuxfoundation.org> <20130424230410.GB2619@decadent.org.uk> <20130424232329.GA9073@kroah.com> Subject: Re: [ 04/26] hugetlbfs: add swap entry check in follow_hugetlb_page() Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Mutt-References: <20130424232329.GA9073@kroah.com> X-Mutt-Fcc: ~/Maildir/sent/ User-Agent: Mutt 1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1870 Lines: 47 On Wed, Apr 24, 2013 at 04:23:29PM -0700, Greg Kroah-Hartman wrote: > On Thu, Apr 25, 2013 at 12:04:10AM +0100, Ben Hutchings wrote: > > On Tue, Apr 23, 2013 at 02:53:44PM -0700, Greg Kroah-Hartman wrote: > > > 3.4-stable review patch. If anyone has any objections, please let me know. > > > > > > ------------------ > > > > > > From: Naoya Horiguchi > > > > > > commit 9cc3a5bd40067b9a0fbd49199d0780463fc2140f upstream. > > > > > > With applying the previous patch "hugetlbfs: stop setting VM_DONTDUMP in > > > initializing vma(VM_HUGETLB)" to reenable hugepage coredump, if a memory > > > error happens on a hugepage and the affected processes try to access the > > > error hugepage, we hit VM_BUG_ON(atomic_read(&page->_count) <= 0) in > > > get_page(). > > > > Is this required? You didn't apply the previous patch referred to > > above (commit a2fce9143057) to 3.4.y or 3.0.y since it claimed to fix > > a regression in 3.7 (commit 314e51b9851b 'mm: kill vma flag VM_RESERVED > > and mm->reserved_vm counter'). > > > > I'm not saying it *isn't* required, mind. > > Yeah, but I went off of the stable: marking in this patch, which said: > Cc: [2.6.34+?] > > > Naoya, any chance you could clear this up? Is this needed for kernels > older than 3.7? Hi Greg, Kernels older than 3.7 need this patch. We need this patch whenever hugepage coredump is enabled. It was enabled before commit 314e51b9851b (== v3.6-8946-g314e51b), but the commit disabled it accidentally, so commit a2fce914305 (== v3.9-rc7-56-ga2fce91) reenabled it. Thanks, Naoya -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/