diff options
author | andre <andre@FreeBSD.org> | 2006-02-17 14:14:15 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2006-02-17 14:14:15 +0000 |
commit | a6010e7b755af67bf9cc03268250940f6ec51baa (patch) | |
tree | 61f82b086382c873a110a1e5319753058263ed1f /sys/kern/uipc_mbuf.c | |
parent | e7148b146b40c47daafcb3315190caf848d0a7b3 (diff) | |
download | FreeBSD-src-a6010e7b755af67bf9cc03268250940f6ec51baa.zip FreeBSD-src-a6010e7b755af67bf9cc03268250940f6ec51baa.tar.gz |
Replace the 4k fixed sized jumbo mbuf clusters with PAGE_SIZE sized
jumbo mbuf clusters. To make the variable size clear they are named
MJUMPAGESIZE.
Having jumbo clusters with the native PAGE_SIZE is more useful than
a fixed 4k size according the device driver writers using this API.
The 9k and 16k jumbo mbuf clusters remain unchanged.
Requested by: glebius, gallatin
Sponsored by: TCP/IP Optimization Fundraise 2005
MFC after: 3 days
Diffstat (limited to 'sys/kern/uipc_mbuf.c')
-rw-r--r-- | sys/kern/uipc_mbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c index f94817c..bed8cdd 100644 --- a/sys/kern/uipc_mbuf.c +++ b/sys/kern/uipc_mbuf.c @@ -225,8 +225,8 @@ mb_free_ext(struct mbuf *m) case EXT_CLUSTER: uma_zfree(zone_clust, m->m_ext.ext_buf); break; - case EXT_JUMBO4: - uma_zfree(zone_jumbo4, m->m_ext.ext_buf); + case EXT_JUMBOP: + uma_zfree(zone_jumbop, m->m_ext.ext_buf); break; case EXT_JUMBO9: uma_zfree(zone_jumbo9, m->m_ext.ext_buf); |