cvs commit: src/sys/kern uipc_mbuf.c src/sys/platform/pc32/i386 symbols.raw src/sys/sys mbuf.h
Joe Talbott
josepht at crater.dragonflybsd.org
Sat Aug 11 16:12:15 PDT 2007
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 at 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
More information about the Commits
mailing list