Ranko Zivojnovic wrote: > On Mon, 2007-07-09 at 15:52 +0200, Patrick McHardy wrote: > >>You could also use synchronize_rcu(), estimator destruction is >>not particulary performance critical. > > > I've tried synchronize_rcu(), but it went kaboom with the below, thus > call_rcu() must stay: > > ---cut--- > BUG: sleeping function called from invalid context at kernel/sched.c:3928 > in_atomic():1, irqs_disabled():0
Right, I forgot that we're holding some locks. > [...] > All the changes above now included in the attached patch. I've clean > compiled it with 2.6.22 and now testing this version. Looks good. Please resend with a Signed-off-by: line once you're done testing so Dave can apply it (ideally with a new subject so it doesn't get missed). - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html