Re: [PATCH] Remove module reference counting.

From: Aschwin Marsman (a.marsman@aYniK.com)
Date: Sun Jul 27 2003 - 00:38:51 EST


On Sat, 26 Jul 2003, Arjan van de Ven wrote:

> On Sat, Jul 26, 2003 at 12:31:25PM -0700, Linus Torvalds wrote:
> >
> > On Sat, 26 Jul 2003, Rusty Russell wrote:
> > >
> > > No, it would just leak memory. Not really a concern for developers.
> > > It's fairly trivial to hack up a backdoor "remove all freed modules
> > > and be damned" thing for developers if there's real demand.
> >
> > It's not just a developer thing. At least installers etc used to do some
> > device probing by loading modules and depending on the result.
>
> yes but those same installers couldn't care less if the kernel
> completely frees the memory of the module text or if it leaks that.
> It won't even notice the difference....

But doesn't the same happen when e.g. kudzu tries to detect new hardware?
This is running every time my RH system boots, so memory leaks at that
moment do not appeal to me. When it's only an installer thing, it doesn't
worry me, although from an engineering perspective...

Have fun,
 
Aschwin Marsman
 

--
aYniK Software Solutions         all You need is Knowledge
P.O. box 134                     NL-7600 AC Almelo - the Netherlands
a.marsman@aYniK.com              http://www.aYniK.com

- 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 : Thu Jul 31 2003 - 22:00:31 EST