Messages in this thread | | | From | Rusty Russell <> | Subject | Re: calling schedule() from interupt context | Date | Mon, 25 Nov 2002 08:42:15 +1100 |
| |
In message <20021122.010934.126934922.davem@redhat.com> you write: > From: "dan carpenter" <error27@email.com> > Date: Fri, 22 Nov 2002 03:54:41 -0500 > > module_put ==> put_cpu ==> preempt_schedule ==> schedule > > Oh we can't kill module references from interrupts?
Err, no, that would be insane. get_cpu() & put_cpu() should work perfectly fine inside interrupts, no?
> Egads... that makes lots of the networking stuff > nearly impossible as SKB's hold references to modules > and thus skb freeing can thus put modules.
Relax: modular networking was one of my aims 8)
Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |