git: kernel - make lwbuf use objcache for ephemeral mappings

Samuel Greear sjg at crater.dragonflybsd.org
Wed Mar 31 07:43:12 PDT 2010


commit 9c7e7f274cffa083034db23afe6e9c7b62936d9c
Author: Samuel J. Greear <sjg at 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





More information about the Commits mailing list