diff options
author | harti <harti@FreeBSD.org> | 2003-10-30 10:43:52 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-10-30 10:43:52 +0000 |
commit | 58d62949d472bd6a380995d114281f52f5936d58 (patch) | |
tree | afc30ce35576338b0ab3c30dc860aad1fc1efa86 /sys/netncp/ncp_subr.h | |
parent | eae6949d99a11d72cef4ef9015743ae44c91c6d1 (diff) | |
download | FreeBSD-src-58d62949d472bd6a380995d114281f52f5936d58.zip FreeBSD-src-58d62949d472bd6a380995d114281f52f5936d58.tar.gz |
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.
Diffstat (limited to 'sys/netncp/ncp_subr.h')
0 files changed, 0 insertions, 0 deletions