Date: Thu, 30 Oct 2003 02:43:52 -0800 (PST) From: Hartmut Brandt <harti@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/hatm if_hatm.c if_hatm_intr.c if_hatmvar.h Message-ID: <200310301043.h9UAhqXJ018325@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
harti 2003/10/30 02:43:52 PST
FreeBSD src repository
Modified files:
sys/dev/hatm if_hatm.c if_hatm_intr.c if_hatmvar.h
Log:
Reinvent the used-flag for external mbufs. This and the on-card flag
are now in the header of the external buffer itself which allows us
to manipulate them in the free routine without having to lock the softc
structure or the free list. To get space for these flags the chunk number
is reduced to 8 bit which amounts to a maximum of 256 chunks per allocated
page. This restriction is now enforced by a CTASSERT.
Revision Changes Path
1.16 +16 -5 src/sys/dev/hatm/if_hatm.c
1.13 +30 -5 src/sys/dev/hatm/if_hatm_intr.c
1.12 +10 -9 src/sys/dev/hatm/if_hatmvar.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310301043.h9UAhqXJ018325>
