Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932924Ab0DGQrM (ORCPT ); Wed, 7 Apr 2010 12:47:12 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:34892 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S932859Ab0DGQrK (ORCPT ); Wed, 7 Apr 2010 12:47:10 -0400 Date: Wed, 7 Apr 2010 12:47:09 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Daniel Mack cc: Greg KH , , Pedro Ribeiro , , Greg KH , , Subject: Re: USB transfer_buffer allocations on 64bit systems In-Reply-To: <20100407161603.GL30801@buzzloop.caiaq.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 808 Lines: 22 On Wed, 7 Apr 2010, Daniel Mack wrote: > Ok, I'll write some dummies for usb_malloc() and usb_zalloc() which > will just call kmalloc() with GFP_DMA32 for now. And while at it, > usb_alloc_buffer() will be renamed to usb_alloc_consistent(). Then I'll > try to clean up all existing drivers to use this new interface and > follow the changes. > > In a next step, we should fine-tune when GFP_DMA32 is really needed. > And I'll leave all occurances of usb_alloc_consistent() as they are now. > > Does that sound ok? Yes, that should work out well. Alan Stern -- 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/