Re: [PATCH 3/4] usb: allocated usb releated dma buffer with kmalloc_node

2007-07-03 Thread Yinghai Lu
On 7/2/07, Greg KH <[EMAIL PROTECTED]> wrote: On Mon, Jul 02, 2007 at 10:33:12PM -0700, Yinghai Lu wrote: Ok, so two drivers might need this, but not the whole usb core, right? And even if you do have another usb mapping, is that a real problem? USB keyboards and mice are very slow. Some other

Re: [linux-usb-devel] [PATCH 3/4] usb: allocated usb releated dma buffer with?kmalloc_node

2007-07-03 Thread Oliver Neukum
Am Dienstag, 3. Juli 2007 schrieb Greg KH: > > > Ok, so two drivers might need this, but not the whole usb core, right? > > > > If those two drivers need the extended allocator, why not use it where > > it is beneficial, even if the benefit is small? > > What is the benefit?  Speed isn't an issue

Re: [linux-usb-devel] [PATCH 3/4] usb: allocated usb releated dma buffer with?kmalloc_node

2007-07-03 Thread Greg KH
t 03:36:37PM -0700, Yinghai Lu wrote: > > > > > [PATCH 3/4] usb: allocated usb releated dma buffer with kmalloc_node > > > > > > > > > > For amd64 based two way system. USB always on node0. but dma buffer > > > > > for > > > > u

Re: [linux-usb-devel] [PATCH 3/4] usb: allocated usb releated dma buffer with kmalloc_node

2007-07-02 Thread Oliver Neukum
Am Dienstag, 3. Juli 2007 schrieb Greg KH: > On Mon, Jul 02, 2007 at 10:33:12PM -0700, Yinghai Lu wrote: > > On 7/2/07, Greg KH <[EMAIL PROTECTED]> wrote: > > > On Mon, Jul 02, 2007 at 03:36:37PM -0700, Yinghai Lu wrote: > > > > [PATCH 3/4] usb: allocated usb r

Re: [PATCH 3/4] usb: allocated usb releated dma buffer with kmalloc_node

2007-07-02 Thread Greg KH
On Mon, Jul 02, 2007 at 10:33:12PM -0700, Yinghai Lu wrote: > On 7/2/07, Greg KH <[EMAIL PROTECTED]> wrote: > > On Mon, Jul 02, 2007 at 03:36:37PM -0700, Yinghai Lu wrote: > > > [PATCH 3/4] usb: allocated usb releated dma buffer with kmalloc_node > > > > >

Re: [PATCH 3/4] usb: allocated usb releated dma buffer with kmalloc_node

2007-07-02 Thread Yinghai Lu
On 7/2/07, Greg KH <[EMAIL PROTECTED]> wrote: On Mon, Jul 02, 2007 at 03:36:37PM -0700, Yinghai Lu wrote: > [PATCH 3/4] usb: allocated usb releated dma buffer with kmalloc_node > > For amd64 based two way system. USB always on node0. but dma buffer for urb > allocated via kmal

Re: [PATCH 3/4] usb: allocated usb releated dma buffer with kmalloc_node

2007-07-02 Thread Greg KH
On Mon, Jul 02, 2007 at 03:36:37PM -0700, Yinghai Lu wrote: > [PATCH 3/4] usb: allocated usb releated dma buffer with kmalloc_node > > For amd64 based two way system. USB always on node0. but dma buffer for urb > allocated via kmalloc always get ram on node1. So change to kmalloc_n

[PATCH 3/4] usb: allocated usb releated dma buffer with kmalloc_node

2007-07-02 Thread Yinghai Lu
[PATCH 3/4] usb: allocated usb releated dma buffer with kmalloc_node For amd64 based two way system. USB always on node0. but dma buffer for urb allocated via kmalloc always get ram on node1. So change to kmalloc_node to get dma_buffer on corresponding node Signed-off-by: Yinghai Lu <[EM