To: Sean Sweda <>
From: Manuel Bouyer <>
List: current-users
Date: 02/20/1998 11:48:19
On Feb 19, Sean Sweda wrote
> What is this NKMEMCLUSTERS constant?  Where does it get set?  Why does
> it override the BUFPAGES option?

In short: the amount of memory pages usable by the kernel depend on this.
Increase it if you get "out of space in kmem_map" panics (this really means:
malloc() ran out of memory where it should not have).
It override the BUFPAGES option because if you request too much pages
for buffer, then there is not enougth kmem_map entries left for the
kernel malloc.
You can increase NKMEMCLUSTERS, but I don't know what the default on
mac68k is.

Manuel Bouyer, LIP6, Universite Paris VI.