kernel - make lwbuf use objcache for ephemeral mappings
authorSamuel J. Greear <sjg@thesjg.com>
Wed, 31 Mar 2010 08:17:39 +0000 (02:17 -0600)
committerSamuel J. Greear <sjg@thesjg.com>
Wed, 31 Mar 2010 08:17:39 +0000 (02:17 -0600)
commit9c7e7f274cffa083034db23afe6e9c7b62936d9c
tree4eda804b7d1d9fd64b40f64df60f45d15d643610
parent21b2e34bfeec4c49b5b44068403069d81a857588
kernel - make lwbuf use objcache for ephemeral mappings

* Introduce ephemeral-tagged mappings to lwbuf, these are serviced directly
from objcache.

* Add kern.ipc.lwbuf_reserve, a boot-time tuneable that controls the number
of per-cpu lwbuf's reserved by the subsystem.

* Add kern.ipw.lwbuf_count, which prints the per-cpu number of lwbufs
available for allocation.
sys/cpu/i386/include/lwbuf.h
sys/cpu/i386/misc/lwbuf.c