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

git: nmalloc - Optimize initialization function out of hot path


From: Samuel Greear <sjg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 9 Dec 2010 22:16:26 -0800 (PST)

commit 754d5cacba4a180be19acfa0482f1b6c48831277
Author: Samuel J. Greear <sjg@thesjg.com>
Date:   Sat Nov 27 10:12:06 2010 +0000

    nmalloc - Optimize initialization function out of hot path
    
    * Add a __constructor macro to cdefs.h
    
    * Turn malloc_init into a gcc constructor
    
    * Modify ifconfig to use the cdefs macro instead of its own

Summary of changes:
 lib/libc/stdlib/nmalloc.c   |    5 +----
 sbin/ifconfig/af_atalk.c    |    2 +-
 sbin/ifconfig/af_inet.c     |    2 +-
 sbin/ifconfig/af_inet6.c    |    2 +-
 sbin/ifconfig/af_ipx.c      |    2 +-
 sbin/ifconfig/af_link.c     |    2 +-
 sbin/ifconfig/ifbridge.c    |    2 +-
 sbin/ifconfig/ifcarp.c      |    2 +-
 sbin/ifconfig/ifclone.c     |    2 +-
 sbin/ifconfig/ifconfig.c    |    3 ++-
 sbin/ifconfig/ifconfig.h    |    2 --
 sbin/ifconfig/ifieee80211.c |    2 +-
 sbin/ifconfig/ifmedia.c     |    2 +-
 sbin/ifconfig/ifvlan.c      |    2 +-
 sys/sys/cdefs.h             |   10 ++++++++++
 15 files changed, 24 insertions(+), 18 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/754d5cacba4a180be19acfa0482f1b6c48831277


-- 
DragonFly BSD source repository



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