Subject: Re: CVS commit: src
To: Chris G. Demetriou <cgd@netbsd.org>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-net
Date: 03/31/1999 12:07:21
On 31 Mar 1999 11:55:51 -0800 
 cgd@netbsd.org (Chris G. Demetriou) wrote:

 > However, on ports where mb_map isn't still used...
 > 
 > no point punishing architectures that don't suck for architectures
 > that do.  8-)
 > 
 > would be easy enough to make it an MI sysctl, and only make it
 > writable on archs which don't use mb_map (via an MD function call, or
 > something).

Actually, the sysctl handler could just test for mb_map == NULL, since
ports which don't use mb_map don't even create/allocate it, so the pointer
to it will be NULL.

I'll do it when I add hooks for low-water settings, too (which I intend on
making dynamically-tunable).

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>