lkml.org 
[lkml]   [1999]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: What protects cleanup_module() from open()?
Date
From
> It will not help. After MOD_DEC_USE_COUNT dropped use count to zero,
> module can be unloaded while pc on one cpu is still inside it.
>
> The answer is: modules cannot be unloaded on an SMP system at all,
> if you do not want to crash.

I pointed this out to Linus and Dave about 6 months ago as with 2.2 its fairly
ok (kernel lock) with 2.3.x its a problem. There are ways to fix it for 2.4,
and since any user can trigger the event in 2.3.x it _has_ to be fixed before
2.4.0

Alan



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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