Messages in this thread | | | From | Rob Landley <> | Subject | Re: Hardwired drivers are going away? | Date | Tue, 15 Jan 2002 13:39:48 -0500 |
| |
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
- 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/
| |