summaryrefslogtreecommitdiffstats
path: root/sbin/newfs
diff options
context:
space:
mode:
authorbmilekic <bmilekic@FreeBSD.org>2003-05-10 18:08:23 +0000
committerbmilekic <bmilekic@FreeBSD.org>2003-05-10 18:08:23 +0000
commit988354fc06d732a75efc2f137144a82888957a80 (patch)
tree92998c5567ad04e90fce49788e4339b0a6f5c3f7 /sbin/newfs
parenta630b57d8b17464e6bb004ae55b254a0f57e2aea (diff)
downloadFreeBSD-src-988354fc06d732a75efc2f137144a82888957a80.zip
FreeBSD-src-988354fc06d732a75efc2f137144a82888957a80.tar.gz
Make m_freem() just use m_free() instead of duplicating the code. The
reason for the duplication was that m_freem() was meant to eventually be optimized to hold the lock of the cache being freed to as long as possible across frees but the difficulty of implementing said optimization right now is too high, given that in some cases (see MAC and non-cluster external buffers), we need to call into other subsytems, something not permissible when the cache lock is held. This change minimizes code duplication while keeping at least the atomic mbuf+cluster free optimization. Suggested by: luigi
Diffstat (limited to 'sbin/newfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud