tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Network drivers and memory allocation in interrupt context



On Thu, Dec 08, 2011 at 07:06:29PM -0700, Sverre Froyen wrote:
> Hi,
> 
> I now have a semi-working pool_cache based memory allocator for network 
> drivers (tested using the iwn driver). I am uncertain, however, about how to 
> get it fully functioning. The issue is memory allocation in interrupt context.

Is there some reason that the code in ixgbe(4) cannot be adapted to your
needs?  For ixgbe(4), I had to solve the precise problem that stops you,
now.

> 3) Rewrite the network drivers so that they do not request memory in
> interrupt context.

This might be a good idea, however, there are a lot of network drivers
to rewrite! :-)

Dave

-- 
David Young
dyoung%pobox.com@localhost    Urbana, IL    (217) 721-9981


Home | Main Index | Thread Index | Old Index