Subject: Re: buffer cache memory management revision
To: Jason Thorpe <thorpej@wasabisystems.com>
From: None <ragge@ludd.luth.se>
List: tech-kern
Date: 12/02/2003 12:13:02
>
> On Dec 1, 2003, at 12:17 PM, <ragge@ludd.luth.se> wrote:
>
> > I for sure have an upper bound of it anyway because the kernel vm
> > area may be very limited in size, so the only question is if the
> > buffers must fight with other users of the same map.
>
> Well, but your upper-bound should come from a run-time tunable, rather
> than a boot-time limit. We should be striving to rid ourselves of as
> many boot-time limits as is feasible.
>
Agreed, but sometimes (here we are again...) the hardware imposes a
boot-time limit, that must be set to an as small size as possible.
Anyway, as long as a hint about the needed size is available then
that could be used, and the kernel_map is allowed to run out of space
without panics.
-- Ragge