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

git: kernel/kobj: Put the default kobj_method inside the kobjop_desc struct.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 22 Mar 2012 12:28:10 -0700 (PDT)

commit 0e0fd600f4c75d4dc8a6d605ba9edc960d4f205e
Author: Sascha Wildner <saw@online.de>
Date:   Thu Mar 22 19:35:13 2012 +0100

    kernel/kobj: Put the default kobj_method inside the kobjop_desc struct.
    
    Also, make kobj_methods constant. See FreeBSD's r227343 and r227384 for
    more information.
    
    This change reduces the size of a LINT64 kernel by 18KB and our source
    by 7 lines!
    
    Taken-from: FreeBSD

Summary of changes:
 sys/kern/subr_kobj.c     |    5 ++---
 sys/sys/kobj.h           |    5 ++---
 sys/tools/makeobjops.awk |    7 +------
 3 files changed, 5 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0e0fd600f4c75d4dc8a6d605ba9edc960d4f205e


-- 
DragonFly BSD source repository



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