]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix inconsistency in setup of kernel_map: we need to make sure that
authorBosko Milekic <bmilekic@FreeBSD.org>
Wed, 18 Apr 2001 23:54:13 +0000 (23:54 +0000)
committerBosko Milekic <bmilekic@FreeBSD.org>
Wed, 18 Apr 2001 23:54:13 +0000 (23:54 +0000)
commitd04d50d1f71224c22a46fad6f19255c16bf09a7e
tree29f29c6283bc56b02db7da9adf5d59d8ce29675b
parent6ca111f0e8a0bc42b420a166d9fd67b2f1f02a35
Fix inconsistency in setup of kernel_map: we need to make sure that
we also reserve _adequate_ space for the mb_map submap; i.e. we need
space for nmbclusters, nmbufs, _and_ nmbcnt. Furthermore, we need to
rounddown, and not roundup, so that we are consistent.

Pointed out by: bde
sys/kern/kern_malloc.c
sys/kern/uipc_mbuf.c
sys/sys/mbuf.h