Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932663Ab0BPHXx (ORCPT ); Tue, 16 Feb 2010 02:23:53 -0500 Received: from cantor.suse.de ([195.135.220.2]:33424 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932624Ab0BPHXw (ORCPT ); Tue, 16 Feb 2010 02:23:52 -0500 Date: Tue, 16 Feb 2010 18:23:49 +1100 From: Nick Piggin To: David Rientjes Cc: KAMEZAWA Hiroyuki , Andrew Morton , Rik van Riel , Andrea Arcangeli , Balbir Singh , Lubos Lunak , KOSAKI Motohiro , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [patch] mm: add comment about deprecation of __GFP_NOFAIL Message-ID: <20100216072349.GI5723@laptop> References: <20100216085706.c7af93e1.kamezawa.hiroyu@jp.fujitsu.com> <20100216092147.85ef7619.kamezawa.hiroyu@jp.fujitsu.com> <20100216102626.5f6f0e11.kamezawa.hiroyu@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1081 Lines: 23 On Mon, Feb 15, 2010 at 11:03:50PM -0800, David Rientjes wrote: > On Tue, 16 Feb 2010, KAMEZAWA Hiroyuki wrote: > > > I hope no 3rd vendor (proprietary) driver uses __GFP_NOFAIL, they tend to > > believe API is trustable and unchanged. > > > > I hope they don't use it with GFP_ATOMIC, either, because it's never been > respected in that context. We can easily audit the handful of cases in > the kernel that use __GFP_NOFAIL (it takes five minutes at the max) and > prove that none use it with GFP_ATOMIC or GFP_NOFS. We don't need to add > multitudes of warnings about using a deprecated flag with ludicrous > combinations (does anyone really expect GFP_ATOMIC | __GFP_NOFAIL to work > gracefully)? You don't need to add warnings, just don't break existing working combinations and nobody has anything to complain about. -- 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/