Re: memory allocation issue loading a kernel module

From: Sean McNeil <sean_at_mcneil.com>
Date: Tue, 25 Nov 2003 16:15:05 -0800
Perfect!! This is exactly the thing I need.  I will investigate.  Memory
is an option, but this project is pretty much done.  Knowing how to do
the bktr approach is something worth the excercise.

More RAM won't teach me anything new ;-)

Sean

On Tue, 2003-11-25 at 16:09, Daniel O'Connor wrote:
> On Tuesday 25 November 2003 18:43, Maxime Henrion wrote:
> > If I remember correctly, Alan Cox intended to write a binary buddy
> > allocator to handle the physical address space (or do coalescing another
> > way, I'm not sure...) so that this particular problem is solved.
> 
> Another way to solve it is the bktr approach which has a KLD that just 
> reserves some memory early on (ie you load it in the loader). This means that 
> when you test your module the memory chunk stays around no matter how often 
> you reload.
> 
> You could get more RAM too 8-)
Received on Tue Nov 25 2003 - 15:15:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:31 UTC