memory allocation issue loading a kernel module

Sean McNeil sean at
Tue Nov 25 16:15:11 PST 2003

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 ;-)


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-)

More information about the freebsd-current mailing list