Re: alloc_skb called nonatomically from interrupt.. 2.1.84

David S. Miller (davem@dm.cobaltmicro.com)
Sat, 31 Jan 1998 15:32:32 -0800


Date: Sat, 31 Jan 1998 10:32:20 -0500
From: Bill Hawes <whawes@star.net>

I'm a little puzzled as to what semantics you would expect for a
snippet of code as above. Surely you wouldn't really expect to
disable bh for the duration of a call that might require an
arbitrary amount of time for swapping, etc?

Never mind, you've pointed out the issue I was missing.

However the commentary I made about exporting the precise soft/hard
IRQ management mechanism still applies, it really should be private to
a port and present only in arch asm-foo/ headers.

Later,
David S. Miller
davem@dm.cobaltmicro.com