summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_taskqueue.c
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2013-08-24 13:15:42 +0000
committerandre <andre@FreeBSD.org>2013-08-24 13:15:42 +0000
commit817be10f1c2c92e0673cb372ae147817a30f922b (patch)
treee03c662cce205e4663aa5f84ea52766f0d649838 /sys/kern/subr_taskqueue.c
parentb9a332b6b2d49d14c1362a93fe3d917544bef915 (diff)
downloadFreeBSD-src-817be10f1c2c92e0673cb372ae147817a30f922b.zip
FreeBSD-src-817be10f1c2c92e0673cb372ae147817a30f922b.tar.gz
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.
Diffstat (limited to 'sys/kern/subr_taskqueue.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud