git: kernel - Compact KOBJOPLOOKUP() kobj method core macro
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Aug 29 20:01:00 PDT 2010
commit ef8696044021849a0172820ce7cef4528c47b7c0
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sun Aug 29 19:32:45 2010 -0700
kernel - Compact KOBJOPLOOKUP() kobj method core macro
* Replace the longish KOBJOPLOOKUP() macro with a procedure call
to kobj_lookup_method(). Do all the heavy lifting in the procedure.
Reduces the nominal kernel size by 67K.
Summary of changes:
sys/kern/subr_kobj.c | 27 ++++++++++++++++++---------
sys/sys/kobj.h | 41 +++++++++++------------------------------
2 files changed, 29 insertions(+), 39 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ef8696044021849a0172820ce7cef4528c47b7c0
--
DragonFly BSD source repository
More information about the Commits
mailing list