Re: Hardwired drivers are going away?

Rob Landley
2002-01-16T03:41:52Z

On Tuesday 15 January 2002 07:39 am, David S. Miller wrote:
> From: Alan Cox <alan@lxorguk.ukuu.org.uk>
> Date: Tue, 15 Jan 2002 12:44:38 +0000 (GMT)
>
> If at boot time we keep a big chunk of ram free at the kernel end and
> just load modules one after each other into that space until we get into
> real paging that problem goes away
>
> And we do have module_map/module_unmap interfaces already so it's
> easy to toy with this.
>
> I've always been meaning to do a "alloc 4MB page at boot, lock into
> TLB, carve module pages out of that, vmalloc when that runs out" on
> sparc64.

How would this handle modules being unloaded? Are you going to try to pack
the space, try to re-use the holes (allowing fragmentation), handle unloading
the last module only (high water mark), or just ignore it and basically not
allow modules to ever be unloaded?

Just curious...

Rob