lkml.org 
[lkml]   [2002]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: calling schedule() from interupt context
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.296 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site