Re: [PATCH] Overzealous permenant mark removed

Rusty Russell (
Tue, 31 Dec 2002 18:56:49 +1100

In message <> you wri
> And if somebody wants to create an un-unloadable driver, he should just
> increment the module count and be done with it. No magic rules (maybe you
> can make /proc/modules print out "<permanent>" if the count is over some
> number, and then people who want permanent modules just initialize the
> count past that).

OTOH, your approach left us with stuff that wasn't modular at all
(like IPv4) because people felt it was somehow "wrong" to make it

I guess it depends on numbers. If we see lots of drivers which
initialize things and don't really need to clean up, you're right.

If we see far more "I didn't implement unloading" drivers, it's
easiest to do the safe thing: require the author DO SOMETHING to make
the module unloadable, not vice versa.

But the change is trivial,

  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
More majordomo info at
Please read the FAQ at