git: if: Dispatch if_slowtimo() to netisr0 to run

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Jan 6 17:08:54 PST 2015


commit b5df1a857fa31fc55e1ea274ab3ddc8409a35ab5
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Tue Jan 6 23:06:53 2015 +0800

    if: Dispatch if_slowtimo() to netisr0 to run
    
    - Mark if_slowtimo callout MPSAFE.
    - Rearrange the critical section in if_slowtimo().
    - Accessing to ifnet global variable is now in netisr0.

Summary of changes:
 sys/net/if.c | 43 +++++++++++++++++++++++++++++++++++--------
 1 file changed, 35 insertions(+), 8 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list