freebsd-dev/sys/dev/mwl
Gleb Smirnoff e8fd18f306 Shorten list of arguments to mbuf external storage freeing function.
All of these arguments are stored in m_ext, so there is no reason
to pass them in the argument list.  Not all functions need the second
argument, some don't even need the first one.  The second argument
lives in next cache line, so not dereferencing it is a performance
gain.  This was discovered in sendfile(2), which will be covered by
next commits.

The second goal of this commit is to bring even more flexibility
to m_ext mbufs, allowing to create more fields in m_ext, opaque to
the generic mbuf code, and potentially set and dereferenced by
subsystems.

Reviewed by:	gallatin, kbowling
Differential Revision:	https://reviews.freebsd.org/D12615
2017-10-09 20:35:31 +00:00
..
if_mwl_pci.c
if_mwl.c Shorten list of arguments to mbuf external storage freeing function. 2017-10-09 20:35:31 +00:00
if_mwlioctl.h
if_mwlvar.h sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
mwldiag.h
mwlhal.c mwl: drop unneeded NULL pointer check. 2016-05-17 20:53:56 +00:00
mwlhal.h [mwl] s/struct device/device_t/ 2016-05-02 04:15:15 +00:00
mwlreg.h