Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752704Ab1FGJ5z (ORCPT ); Tue, 7 Jun 2011 05:57:55 -0400 Received: from gir.skynet.ie ([193.1.99.77]:49202 "EHLO gir.skynet.ie" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751498Ab1FGJ5y (ORCPT ); Tue, 7 Jun 2011 05:57:54 -0400 Date: Tue, 7 Jun 2011 10:57:49 +0100 From: Mel Gorman To: Hugh Dickins Cc: Andrew Morton , Linus Torvalds , Al Viro , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] mm: fix ENOSPC returned by handle_mm_fault() Message-ID: <20110607095749.GD4372@csn.ul.ie> References: <20110605134317.GF11521@ZenIV.linux.org.uk> <20110605195025.GH11521@ZenIV.linux.org.uk> <20110605221344.GJ11521@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: 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: 722 Lines: 21 On Sun, Jun 05, 2011 at 10:03:13PM -0700, Hugh Dickins wrote: > Al Viro observes that in the hugetlb case, handle_mm_fault() may return > a value of the kind ENOSPC when its caller is expecting a value of the > kind VM_FAULT_SIGBUS: fix alloc_huge_page()'s failure returns. > > Signed-off-by: Hugh Dickins > Acked-by: Al Viro > Cc: stable@kernel.org Nicely spotted! Acked-by: Mel Gorman -- Mel Gorman SUSE Labs -- 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/