Add a new helper function, kmalloc_limit(). This function returns
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 30 Jun 2008 03:00:36 +0000 (03:00 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 30 Jun 2008 03:00:36 +0000 (03:00 +0000)
commit45d2b1d8883e5f629c92f3895f3b15f8c73dfa9d
treef3cafd57507b7ce43f3faeac198b3423cde956a8
parent525aad3accc8058e03438065d26db8d041d925f2
Add a new helper function, kmalloc_limit().  This function returns
the number of bytes that can be held in a M_XXX kernel memory pool.
sys/kern/kern_slaballoc.c
sys/sys/malloc.h