Re: memory allocation issue loading a kernel module

From: Maxime Henrion <mux_at_freebsd.org>
Date: Tue, 25 Nov 2003 09:31:44 +0100
Sean McNeil wrote:
> Yes, thanks for the clarification.  I still am inclined to believe,
> though, that the disk driver is what is fragmenting the physical memory
> with disk cacheing.  It is only a theory, but it sounded plausible.

Maybe, but the root cause is not the disk caching.  It may be that this
subsystem is doing a lot of allocations/deallocations and thus leads to
physical address space fragmentation, but the root cause is how we deal
with physical address space, and the correct fix is not to add hacks into
the disk caching code.  I'm insisting on this because I don't want to see
people adding hacks here and there to workaround the problem.  Even if
you get the disk caching code to cause less fragmentation, fragmentation
_will_ happen.  At best it'll take a bit longer.

Cheers,
Maxime
Received on Mon Nov 24 2003 - 23:31:45 UTC

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