[lkml]   [2002]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] In-kernel module loader 1/7
On Thursday 03 October 2002 20:53, Rob Landley wrote:
> On Monday 30 September 2002 11:32 am, Daniel Phillips wrote:
> > Not being able to unload LSM would suck enormously. At last count, we
> > knew how to do this:
> >
> > 1) Unhook the function hooks (using a call table simplifies this)
> > 2) Schedule on each CPU to ensure all tasks are out of the module
> > 3) A schedule where the module count is incremented doesn't count
> >
> > and we rely on the rule that and module code that could sleep must be
> > bracketed by inc/dec of the module count.
> >
> > Did somebody come up with a reason why this will not work?
> Preemption?

Turn it off.

> Scheduling doesn't guarantee making any specific amount of progress within
> the kernel with preemption enabled. I thought the preferred strategy was to
> wait for the time slices to refill and then exhaust (since everybody has to
> exhaust their time slices before anybody gets new ones. Unless I've missed
> something...?)

Probably ;-)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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