Re: [PATCH 2/2] net: make net and forcedeth to use kmalloc_node

2007-07-04 Thread Yinghai Lu
On 7/4/07, Christoph Hellwig <[EMAIL PROTECTED]> wrote: On Tue, Jul 03, 2007 at 11:58:40AM -0700, Andrew Morton wrote: > > > > while (np->put_rx.orig != less_rx) { > > - struct sk_buff *skb = dev_alloc_skb(np->rx_buf_sz + NV_RX_ALLOC_PAD); > > + struct sk_buff *skb = dev_

Re: [PATCH 2/2] net: make net and forcedeth to use kmalloc_node

2007-07-04 Thread Christoph Hellwig
On Tue, Jul 03, 2007 at 11:58:40AM -0700, Andrew Morton wrote: > > > > while (np->put_rx.orig != less_rx) { > > - struct sk_buff *skb = dev_alloc_skb(np->rx_buf_sz + > > NV_RX_ALLOC_PAD); > > + struct sk_buff *skb = dev_alloc_skb_node(np->rx_buf_sz + > > NV_RX_ALLOC_PAD,

Re: [PATCH 2/2] net: make net and forcedeth to use kmalloc_node

2007-07-03 Thread Yinghai Lu
Stephen Hemminger wrote: On Tue, 3 Jul 2007 11:58:40 -0700 Andrew Morton <[EMAIL PROTECTED]> wrote: On Fri, 29 Jun 2007 13:30:36 -0700 Yinghai Lu <[EMAIL PROTECTED]> wrote: [PATCH 2/2] net: make net and forcedeth to use kmalloc_node Please copy netdev@vger.kernel.org on net pa

Re: [PATCH 2/2] net: make net and forcedeth to use kmalloc_node

2007-07-03 Thread Stephen Hemminger
t;[EMAIL PROTECTED]> wrote: > >> > >>> [PATCH 2/2] net: make net and forcedeth to use kmalloc_node > >> Please copy netdev@vger.kernel.org on net patches. > >> > >> This patch modifies a net driver as well as the networking core. These > >&

Re: [PATCH 2/2] net: make net and forcedeth to use kmalloc_node

2007-07-03 Thread Yinghai Lu
Andrew Morton wrote: On Fri, 29 Jun 2007 13:30:36 -0700 Yinghai Lu <[EMAIL PROTECTED]> wrote: [PATCH 2/2] net: make net and forcedeth to use kmalloc_node Please copy netdev@vger.kernel.org on net patches. It might help to edit code in an 80-col xterm. Please run scritps/checkpa

Re: [PATCH 2/2] net: make net and forcedeth to use kmalloc_node

2007-07-03 Thread Stephen Hemminger
On Tue, 3 Jul 2007 11:58:40 -0700 Andrew Morton <[EMAIL PROTECTED]> wrote: > On Fri, 29 Jun 2007 13:30:36 -0700 > Yinghai Lu <[EMAIL PROTECTED]> wrote: > > > [PATCH 2/2] net: make net and forcedeth to use kmalloc_node > > Please copy netdev@vger.kernel.or

Re: [PATCH 2/2] net: make net and forcedeth to use kmalloc_node

2007-07-03 Thread Andrew Morton
On Fri, 29 Jun 2007 13:30:36 -0700 Yinghai Lu <[EMAIL PROTECTED]> wrote: > [PATCH 2/2] net: make net and forcedeth to use kmalloc_node Please copy netdev@vger.kernel.org on net patches. This patch modifies a net driver as well as the networking core. These subsytems have different ma