DragonFly BSD
DragonFly commits List (threaded) for 2010-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 31 Mar 2010 09:20:46 -0700 (PDT)

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


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]