git: kernel - make lwbuf use objcache for ephemeral mappings

看板DFBSD_commit作者時間16年前 (2010/04/01 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 9c7e7f274cffa083034db23afe6e9c7b62936d9c Author: Samuel J. Greear <sjg@thesjg.com> Date: Wed Mar 31 02:17:39 2010 -0600 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. Summary of changes: sys/cpu/i386/include/lwbuf.h | 1 + sys/cpu/i386/misc/lwbuf.c | 110 +++++++++++++++++++++++++++++------------- 2 files changed, 78 insertions(+), 33 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9c7e7f274cffa083034db23afe6e9c7b62936d9c -- DragonFly BSD source repository
文章代碼(AID): #1Biut_Xi (DFBSD_commit)