git: kernel -- Convert sfbuf to use kref.

Venkatesh Srinivas vsrinivas at crater.dragonflybsd.org
Tue Dec 21 14:01:28 PST 2010


commit 382a4dbd832587155aff56159b620af64ffbb6e9
Author: Venkatesh Srinivas <me at endeavour.zapto.org>
Date:   Tue Dec 21 13:45:27 2010 -0800

    kernel -- Convert sfbuf to use kref.
    
    kref_dec was also modified to return an int, whether it saw a 1 -> 0
    transition (0) or not (1).

Summary of changes:
 share/man/man9/kref.9 |    6 ++++--
 sys/kern/kern_ref.c   |   12 ++++++++----
 sys/kern/kern_sfbuf.c |   26 ++++++++++++++------------
 sys/sys/ref.h         |    4 ++--
 sys/sys/sfbuf.h       |    6 ++++--
 5 files changed, 32 insertions(+), 22 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/382a4dbd832587155aff56159b620af64ffbb6e9


-- 
DragonFly BSD source repository





More information about the Commits mailing list