#
1227f20d |
| 21-Aug-2013 |
Andre Oppermann <andre@FreeBSD.org> |
Revert r254520 and resurrect the M_NOFREE mbuf flag and functionality.
Requested by: np, grehan
|
#
aa3cb8fb |
| 19-Aug-2013 |
Andre Oppermann <andre@FreeBSD.org> |
Remove the unused M_NOFREE mbuf flag. It didn't have any in-tree users for a very long time, if ever.
Should such a functionality ever be needed again the appropriate and much better way to do it i
Remove the unused M_NOFREE mbuf flag. It didn't have any in-tree users for a very long time, if ever.
Should such a functionality ever be needed again the appropriate and much better way to do it is through a custom EXT_SOMETHING external mbuf type together with a dedicated *ext_free function.
Discussed with: trociny, glebius
show more ...
|
#
40f65a4d |
| 07-Aug-2013 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r254014
|
#
92e0a672 |
| 19-Jul-2013 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r253461
|
#
552311f4 |
| 17-Jul-2013 |
Xin LI <delphij@FreeBSD.org> |
IFC @253398
|
#
59b9c4f2 |
| 15-Jul-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Nuke mbstat. It wasn't used for mbuf statistics since FreeBSD 5.
Now that r253351 moved sendfile() stats to a separate struct, the last field used in mbstat is m_mcfail, which is updated, but never
Nuke mbstat. It wasn't used for mbuf statistics since FreeBSD 5.
Now that r253351 moved sendfile() stats to a separate struct, the last field used in mbstat is m_mcfail, which is updated, but never read or obtained from userland.
show more ...
|
#
cfe30d02 |
| 19-Jun-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge fresh head.
|
Revision tags: release/8.4.0 |
|
#
69e6d7b7 |
| 12-Apr-2013 |
Simon J. Gerraty <sjg@FreeBSD.org> |
sync from head
|
#
21f39848 |
| 29-Mar-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Fix bug in m_split() in a case when split len matches len of the first mbuf, and the first mbuf is M_PKTHDR.
PR: kern/176144 Submitted by: Jacques Fourie <jacques.fourie gmail.com>
|
#
876a84e8 |
| 18-Mar-2013 |
Martin Matuska <mm@FreeBSD.org> |
MFC @248461
|
#
4f67e143 |
| 17-Mar-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
In m_align() add assertions that mbuf is virgin, similar to assertions in M_ALIGN(), MH_ALIGN, MEXT_ALIGN() macros.
|
#
c95be8b5 |
| 16-Mar-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
- Replace compat macros with function calls. - Remove superfluous cleaning of m_len after allocating.
Sponsored by: Nginx, Inc.
|
#
5368b81e |
| 16-Mar-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Contrary to what the deleted comment said, the m_move_pkthdr() will not smash the M_EXT and data pointer, so it is safe to pass an mbuf with external storage procuded by m_getcl() to m_move_pkthdr().
Contrary to what the deleted comment said, the m_move_pkthdr() will not smash the M_EXT and data pointer, so it is safe to pass an mbuf with external storage procuded by m_getcl() to m_move_pkthdr().
Reviewed by: andre Sponsored by: Nginx, Inc.
show more ...
|
#
3112ae76 |
| 15-Mar-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Make m_get2() never use clusters that are bigger than PAGE_SIZE.
Requested by: andre, jhb Sponsored by: Nginx, Inc.
|
#
41a7572b |
| 12-Mar-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Functions m_getm2() and m_get2() have different order of arguments, and that can drive someone crazy. While m_get2() is young and not documented yet, change its order of arguments to match m_getm2().
Functions m_getm2() and m_get2() have different order of arguments, and that can drive someone crazy. While m_get2() is young and not documented yet, change its order of arguments to match m_getm2().
Sorry for churn, but better now than later.
show more ...
|
#
8c629bdf |
| 12-Mar-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
The m_extadd() can fail due to memory allocation failure, thus: - Make it return int, not void. - Add wait parameter. - Update MEXTADD() macro appropriately, defaults to M_NOWAIT, as before this ch
The m_extadd() can fail due to memory allocation failure, thus: - Make it return int, not void. - Add wait parameter. - Update MEXTADD() macro appropriately, defaults to M_NOWAIT, as before this change.
Sponsored by: Nginx, Inc.
show more ...
|
#
d241a0e6 |
| 26-Feb-2013 |
Xin LI <delphij@FreeBSD.org> |
IFC @247348.
|
#
d9a44755 |
| 08-Feb-2013 |
David E. O'Brien <obrien@FreeBSD.org> |
Sync with HEAD.
|
#
29110f87 |
| 24-Jan-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
- Move large functions m_getjcl() and m_get2() to kern/uipc_mbuf.c - style(9) fixes to mbuf.h
Reviewed by: bde
|
#
46b1c55d |
| 04-Jan-2013 |
Neel Natu <neel@FreeBSD.org> |
IFC @ r244983.
|
#
eb1b1807 |
| 05-Dec-2012 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Mechanically substitute flags from historic mbuf allocator with malloc(9) flags within sys.
Exceptions:
- sys/contrib not touched - sys/mbuf.h edited manually
|
Revision tags: release/9.1.0 |
|
#
300675f6 |
| 27-Nov-2012 |
Alexander Motin <mav@FreeBSD.org> |
MFC
|
#
a10c6f55 |
| 11-Nov-2012 |
Neel Natu <neel@FreeBSD.org> |
IFC @ r242684
|
#
23090366 |
| 04-Nov-2012 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Sync from head
|
#
a2c36a02 |
| 29-Oct-2012 |
Kevin Lo <kevlo@FreeBSD.org> |
Since the macro dtom() has been removed, fix comments about the dtom.
Reviewed by: glebius
|