DragonFly commits List (threaded) for 2007-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/kern uipc_mbuf.c src/sys/platform/pc32/i386 symbols.raw src/sys/sys mbuf.h
josepht 2007/08/11 16:11:23 PDT
DragonFly src repository
Modified files:
sys/kern uipc_mbuf.c
sys/platform/pc32/i386 symbols.raw
sys/sys mbuf.h
Log:
Make mbuf allocator statistics SMP safe.
Make mbtypes[] and mbstat per-cpu. Use atomic_*_*_nonlocked() to adjust
their values. Convert sysctls (kern.ipc.mbstat and kern.ipc.mbtypes) into
procedures that sum the statistics for each CPU.
Reviewed-By: Matt Dillon <dillon@backplane.com>
Revision Changes Path
1.64 +100 -37 src/sys/kern/uipc_mbuf.c
1.5 +0 -1 src/sys/platform/pc32/i386/symbols.raw
1.39 +0 -1 src/sys/sys/mbuf.h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_mbuf.c.diff?r1=1.63&r2=1.64&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/pc32/i386/symbols.raw.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/mbuf.h.diff?r1=1.38&r2=1.39&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]