cvs commit: src/sys/dev/atm/en midway.c src/sys/kern uipc_mbuf.c uipc_mbuf2.c uipc_syscalls.c src/sys/netinet6 ipsec.c src/sys/netproto/ipsec key_debug.c src/sys/netproto/key key_debug.c src/sys/sys mbuf.h src/sys/dev/netif/bge if_bge.c ...
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Jul 29 01:50:36 PDT 2004
dillon 2004/07/29 01:46:23 PDT
DragonFly src repository
Modified files:
sys/dev/atm/en midway.c
sys/kern uipc_mbuf.c uipc_mbuf2.c uipc_syscalls.c
sys/netinet6 ipsec.c
sys/netproto/ipsec key_debug.c
sys/netproto/key key_debug.c
sys/sys mbuf.h
sys/dev/netif/bge if_bge.c
sys/dev/netif/lge if_lge.c
sys/dev/netif/lnc if_lnc.c
sys/dev/netif/nge if_nge.c
sys/dev/netif/sk if_sk.c
sys/dev/netif/ti if_ti.c
sys/dev/netif/wb if_wb.c
Log:
Stage 1/many: mbuf/cluster accounting rewrite and mbuf allocator rewrite.
Implement 'new' style mbuf m_ext buffers where the callbacks are called with
a custom argument instead of with (buf, size). Old style m_ext buffers have
to jump through loops to properly track reference counters in a manner that
is tightly integrated with the old mbuf/cluster KVA allocation array.
The old clustering methodology is going to have to be converted to the new
methodology before we can rip out the old mbuf allocator, plus we want to
use the new mechanism anyway because it is a whole lot cleaner and because
it's easier to import driver code (aka NDIS) from FreeBSD-5 with the new
mechanism.
This commit still supports the old mechanism via M_EXT_OLD, and all
existing function-based M_EXT's have been converted to use M_EXT_OLD. The
old mechanism (and M_EXT_OLD) will be removed in later stages.
Revision Changes Path
1.12 +1 -1 src/sys/dev/atm/en/midway.c
1.22 +61 -51 src/sys/kern/uipc_mbuf.c
1.7 +1 -1 src/sys/kern/uipc_mbuf2.c
1.39 +3 -3 src/sys/kern/uipc_syscalls.c
1.8 +1 -1 src/sys/netinet6/ipsec.c
1.5 +2 -2 src/sys/netproto/ipsec/key_debug.c
1.5 +2 -2 src/sys/netproto/key/key_debug.c
1.13 +14 -6 src/sys/sys/mbuf.h
1.23 +3 -3 src/sys/dev/netif/bge/if_bge.c
1.14 +3 -3 src/sys/dev/netif/lge/if_lge.c
1.13 +1 -1 src/sys/dev/netif/lnc/if_lnc.c
1.14 +3 -3 src/sys/dev/netif/nge/if_nge.c
1.18 +3 -3 src/sys/dev/netif/sk/if_sk.c
1.14 +3 -3 src/sys/dev/netif/ti/if_ti.c
1.13 +3 -3 src/sys/dev/netif/wb/if_wb.c
http://www.dragonflybsd.org/cvsweb/src/sys/dev/atm/en/midway.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_mbuf.c.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_mbuf2.c.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_syscalls.c.diff?r1=1.38&r2=1.39&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet6/ipsec.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ipsec/key_debug.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/key/key_debug.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/mbuf.h.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/bge/if_bge.c.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/lge/if_lge.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/lnc/if_lnc.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/nge/if_nge.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/sk/if_sk.c.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ti/if_ti.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/wb/if_wb.c.diff?r1=1.12&r2=1.13&f=u
More information about the Commits
mailing list