Re: Question about pseudo filesystems

From: Kai Henningsen (kaih@khms.westfalen.de)
Date: Tue Sep 10 2002 - 01:48:00 EST


phillips@arcor.de (Daniel Phillips) wrote on 09.09.02 in <E17oUzP-0006tu-00@starship>:

> On Monday 09 September 2002 21:48, Jamie Lokier wrote:
> > The expected behaviour is as it has always been: rmmod fails if anyone
> > is using the module, and succeeds if nobody is using the module. The
> > garbage collection of modules is done using "rmmod -a" periodically, as
> > it always has been.
>
> Actually, it would be more useful if I stated the following simple fact:
> Returning a flag from __exit definitively gets rid of one race, that is
> the race where a module's memory can be freed while __exit is active.
>
> To get rid of this race by other means you have to put in place some
> fancy mechanism. This alone should be enough reason to do it the way
> I suggest, besides the fact that it is a simpler, more obvious and more
> robust interface.

I just love the way you propose insanely hard-to-get-right, hard-to-
understand, and complicated interfaces with known broken cases you admit
to, to replace simple, obviously correct and race-free mechanisms, all
with a supposed goal to make things simpler and safer.

Is there some fancy word to describe something that looks like irony,
sarcasm, or satire, except for the fact it's actually meant entirely
seriously?

MfG Kai
-
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/



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:20 EST