git: kernel - Compact KOBJOPLOOKUP() kobj method core macro

看板DFBSD_commit作者時間15年前 (2010/08/30 11:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit ef8696044021849a0172820ce7cef4528c47b7c0 Author: Matthew Dillon <dillon@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
文章代碼(AID): #1CUoOtty (DFBSD_commit)