[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#160507: hotplug: module removal makes shutdown take a long time and sometimes triggers Oops...



On Sun, Sep 15, 2002 at 07:31:05PM -0400, Daniel Jacobowitz wrote:
> FYI, this seems extremely unlikely.  An interface without the races was
> proposed and I believe implemented, although it's still beind
> discussed.

IIRC I heard from Rusty that it was determined to be impractical
to implement this interface that eliminated all race conditions
(it made the code too complicated), and that the preferred option
was simply to disable unloading.

The problem, I think was related to freeing resources. If
a module exits, it has to free resources being used. However
these resources may be used by other parts of the kernel.
eg. /proc filesystem entries.

(disclaimer: I am not a kernel developer, so may have got
some/all of this wrong; don't take my word for it).
-- 
Brian May <bam@debian.org>



Reply to: