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

git: if: Optimize ifnet_serialize_array_ function a little bit


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 13 Jan 2013 04:11:37 -0800 (PST)

commit fa75bf744ddb5984269faceb91b1733da7a48a15
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Sun Jan 13 20:03:42 2013 +0800

    if: Optimize ifnet_serialize_array_ function a little bit
    
    IFNET_SERIALIZE_ALL is only used on init, stop and configuration path,
    which is much less often then IFNET_SERIALIZE_TX; use __predict_false
    for IFNET_SERIALIZE_ALL.

Summary of changes:
 sys/net/if_var.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fa75bf744ddb5984269faceb91b1733da7a48a15


-- 
DragonFly BSD source repository



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