/freebsd/sys/dev/dpaa/ |
H A D | if_dtsec_rm.c | diff e8fd18f306915c411b08ab4664ec0aa3bc03d4d4 Mon Oct 09 22:35:31 CEST 2017 Gleb Smirnoff <glebius@FreeBSD.org> 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
|
/freebsd/sys/dev/cas/ |
H A D | if_casvar.h | diff e8fd18f306915c411b08ab4664ec0aa3bc03d4d4 Mon Oct 09 22:35:31 CEST 2017 Gleb Smirnoff <glebius@FreeBSD.org> 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
|
H A D | if_cas.c | diff e8fd18f306915c411b08ab4664ec0aa3bc03d4d4 Mon Oct 09 22:35:31 CEST 2017 Gleb Smirnoff <glebius@FreeBSD.org> 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
|
/freebsd/sys/dev/netmap/ |
H A D | netmap_generic.c | diff e8fd18f306915c411b08ab4664ec0aa3bc03d4d4 Mon Oct 09 22:35:31 CEST 2017 Gleb Smirnoff <glebius@FreeBSD.org> 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
|
/freebsd/sys/dev/mwl/ |
H A D | if_mwl.c | diff e8fd18f306915c411b08ab4664ec0aa3bc03d4d4 Mon Oct 09 22:35:31 CEST 2017 Gleb Smirnoff <glebius@FreeBSD.org> 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
|
/freebsd/share/man/man9/ |
H A D | mbuf.9 | diff e8fd18f306915c411b08ab4664ec0aa3bc03d4d4 Mon Oct 09 22:35:31 CEST 2017 Gleb Smirnoff <glebius@FreeBSD.org> 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
|
/freebsd/sys/dev/lge/ |
H A D | if_lge.c | diff e8fd18f306915c411b08ab4664ec0aa3bc03d4d4 Mon Oct 09 22:35:31 CEST 2017 Gleb Smirnoff <glebius@FreeBSD.org> 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
|
/freebsd/sys/dev/cxgbe/tom/ |
H A D | t4_cpl_io.c | diff e8fd18f306915c411b08ab4664ec0aa3bc03d4d4 Mon Oct 09 22:35:31 CEST 2017 Gleb Smirnoff <glebius@FreeBSD.org> 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
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_sge.c | diff e8fd18f306915c411b08ab4664ec0aa3bc03d4d4 Mon Oct 09 22:35:31 CEST 2017 Gleb Smirnoff <glebius@FreeBSD.org> 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
|
/freebsd/sys/kern/ |
H A D | kern_mbuf.c | diff e8fd18f306915c411b08ab4664ec0aa3bc03d4d4 Mon Oct 09 22:35:31 CEST 2017 Gleb Smirnoff <glebius@FreeBSD.org> 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
|
/freebsd/sys/sys/ |
H A D | mbuf.h | diff e8fd18f306915c411b08ab4664ec0aa3bc03d4d4 Mon Oct 09 22:35:31 CEST 2017 Gleb Smirnoff <glebius@FreeBSD.org> 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
|