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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Evgeniy Polyakov
Date: Friday, November 23, 2007 - 10:57 am

On Fri, Nov 23, 2007 at 11:07:56AM -0600, Matt Mackall (mpm@selenic.com) wrote:

We basically can not free skbs there - if it is interrupt context and
we are freeing some skb with destructor we will catch the warning anyway.

No matter if we are under memory pressure or whatever - it is not
allowed - a lot of skbs are supposed to be freed in softirq context,
that is why dev_kfree_skb_any() exists.

I think we can drop skbs _without_ destructor from the queue though in
that conditions given that we actually need only one.

-- 
	Evgeniy Polyakov
-
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(), 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)