svn commit: r254780 - in head/sys: kern sys

Andre Oppermann andre at freebsd.org
Sat Aug 24 16:55:11 UTC 2013


On 24.08.2013 15:15, Andre Oppermann wrote:
> Author: andre
> Date: Sat Aug 24 13:15:42 2013
> New Revision: 254780
> URL: http://svnweb.freebsd.org/changeset/base/254780
>
> Log:
>    dd a 24 bits wide ext_flags field to m_ext by reducing ext_type
>    to 8 bits.  ext_type is an enumerator and the number of types we
>    have is a mere dozen.
>
>    A couple of ext_types are renumbered to fit within 8 bits.
>
>    EXT_VENDOR[1-4] and EXT_EXP[1-4] types for vendor-internal and
>    experimental local mapping.
>
>    The ext_flags field is currently unused but has a couple of flags
>    already defined for future use.  Again vendor and experimental
>    flags are provided for local mapping.
>
>    EXT_FLAG_BITS is provided for the printf(9) %b identifier.
>
>    Initialize and copy ext_flags in the relevant mbuf functions.
>
>    Improve alignment and packing of struct m_ext on 32 and 64 archs
>    by carefully sorting the fields.

Sponsored by:	The FreeBSD Foundation

-- 
Andre



More information about the svn-src-all mailing list