git: DragonFly_RELEASE_2_6 kernel - make lwbuf use objcache for ephemeral mappings

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Mar 31 09:22:34 PDT 2010


commit 47efa95b8463176decb4781351e845ed44681170
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/47efa95b8463176decb4781351e845ed44681170


-- 
DragonFly BSD source repository





More information about the Commits mailing list