From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [PATCH 2/8] [I/OAT] Driver for the Intel(R) I/OAT DMA engine Date: Sun, 12 Mar 2006 03:04:35 -0800 Message-ID: <20060312030435.6a5ff2c2.akpm@osdl.org> References: <20060312104728.GA25301@2ka.mipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: christopher.leech@intel.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Return-path: To: Evgeniy Polyakov In-Reply-To: <20060312104728.GA25301@2ka.mipt.ru> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Evgeniy Polyakov wrote: > > On Fri, Mar 10, 2006 at 06:29:46PM -0800, Leech, Christopher (christopher.leech@intel.com) wrote: > > From: Chris Leech [mailto:christopher.leech@intel.com] > > Sent: Friday, March 10, 2006 6:29 PM > > To: > > Subject: [PATCH 2/8] [I/OAT] Driver for the Intel(R) I/OAT DMA engine > > > > > > Adds a new ioatdma driver > > enumerate_dma_channels() is still broken, if it can not fail add NOFAIL > gfp flag. The __GFP_NOFAIL flag is there to mark lame-and-buggy-code which doesn't know how to handle ENOMEM. I went through the kernel, found all the retry-until-it-works loops and consolidated their behaviour in the page allocator instead. Really we should fix them all up. Adding new users of __GFP_NOFAIL would not be good.