[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081112.224927.250241354.davem@davemloft.net>
Date: Wed, 12 Nov 2008 22:49:27 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dada1@...mosbay.com
Cc: mchan@...adcom.com, netdev@...r.kernel.org, mcarlson@...adcom.com,
benli@...adcom.com
Subject: Re: [PATCH] bnx2: bnx2_alloc_rx_mem() should use kmalloc() for
small allocations
From: Eric Dumazet <dada1@...mosbay.com>
Date: Thu, 13 Nov 2008 06:49:14 +0100
> Any chance bnx2_alloc_rx_mem doesnt use vmalloc() to allocate less
> than a page of memory ?
>
> [PATCH] bnx2: bnx2_alloc_rx_mem() should use kmalloc() for small allocations
Eric, I've seen (and used) this idiom enough times that I think
it deserves a generic construct somewhere instead of replicating
this sequence over and over again.
Don't you agree? :-)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists