lkml.org 
[lkml]   [2002]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Modules with list
Date
In message <200211270722.XAA23313@adam.yggdrasil.com> you write:
> Rusty Russell wrote:
> >In message <200211260649.WAA22216@adam.yggdrasil.com> you write:
> >> >This would only happen if someone says "rmmod --wait".
>
> >As I realized last night after I wrote this, there is a bug in
> >module.c. If O_NONBLOCK is specified, we shouldn't drop the module
> >sempaphore at all, for exactly this reason. A bug I introduced while
> >"cleaning up" the "--wait" path.
>
> >Sorry for the confusion.
>
> Then if you do "rmmod --wait" on some module that is in use,
> every lsmod, insmod and rmmod will hang while attempting to acquire

Sorry, that's why I said "*If O_NONBLOCK* is specified" (ie. still
drop it for the --wait case).

Hope that clarifies,
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.028 / U:1.856 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site