Re: 2.6.23 WARNING: at kernel/softirq.c:139 local_bh_enable()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Matt Mackall
Date: Friday, November 23, 2007 - 11:59 am

On Fri, Nov 23, 2007 at 08:57:57PM +0300, Evgeniy Polyakov wrote:

Perhaps I'm missing some context here. We don't free skbs with
destructors in irq context in zap_completion_queue. We reinsert them on the
completion list. We do this by calling dev_kfree_skb_any.

So I'd be surprised if that was a problem. But I can imagine having
problems for skbs without destructors which run into one of these in
__kfree_skb:

dst_release
secpath_put
nf_conntrack_put
nf_conntrack_put_reasm
nf_bridge_put

..some or all of which assume a softirq context.


Some skbs we definitely -can- free in irq context. The only ones we
care about are the ones generated by netpoll. If there's a reason you
think netpoll's own skbs can't be freed, please describe it.


Huh?

-- 
Mathematics is the supreme nostalgia of our time.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.23 WARNING: at kernel/softirq.c:139 local_bh_enable(), Simon Arlott, (Thu Nov 22, 12:47 pm)
Re: 2.6.23 WARNING: at kernel/softirq.c:139 local_bh_enable(), Evgeniy Polyakov, (Fri Nov 23, 3:55 am)
Re: 2.6.23 WARNING: at kernel/softirq.c:139 local_bh_enable(), Evgeniy Polyakov, (Fri Nov 23, 10:57 am)
Re: 2.6.23 WARNING: at kernel/softirq.c:139 local_bh_enable(), Evgeniy Polyakov, (Fri Nov 23, 11:48 am)
Re: 2.6.23 WARNING: at kernel/softirq.c:139 local_bh_enable(), Evgeniy Polyakov, (Fri Nov 23, 11:51 am)
Re: 2.6.23 WARNING: at kernel/softirq.c:139 local_bh_enable(), Evgeniy Polyakov, (Fri Nov 23, 11:59 am)
Re: 2.6.23 WARNING: at kernel/softirq.c:139 local_bh_enable(), Matt Mackall, (Fri Nov 23, 11:59 am)
Re: 2.6.23 WARNING: at kernel/softirq.c:139 local_bh_enable(), Evgeniy Polyakov, (Fri Nov 23, 12:15 pm)
Re: 2.6.23 WARNING: at kernel/softirq.c:139 local_bh_enable(), Evgeniy Polyakov, (Fri Nov 23, 12:32 pm)
Re: 2.6.23 WARNING: at kernel/softirq.c:139 local_bh_enable(), Evgeniy Polyakov, (Fri Nov 23, 12:54 pm)
Re: 2.6.23 WARNING: at kernel/softirq.c:139 local_bh_enable(), Evgeniy Polyakov, (Fri Nov 23, 1:07 pm)