DragonFly commits List (threaded) for 2008-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/net if.c if_var.h
sephe 2008/11/11 05:48:01 PST
DragonFly src repository
Modified files:
sys/net if.c if_var.h
Log:
Record number of valid ifaddr containers in ifaddr, so we could use
atomic_fetchadd_int() to avoid N->0 race instead of using thread based
serialization. Remove the netmsg embedded in ifaddr_container; it is
no longer needed/used.
Revision Changes Path
1.82 +12 -27 src/sys/net/if.c
1.69 +1 -12 src/sys/net/if_var.h
http://www.dragonflybsd.org/cvsweb/src/sys/net/if.c.diff?r1=1.81&r2=1.82&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/if_var.h.diff?r1=1.68&r2=1.69&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]