svn commit: r191653 - head/sys/sys
Bruce M Simpson
bms at FreeBSD.org
Wed Apr 29 09:54:34 UTC 2009
Author: bms
Date: Wed Apr 29 09:54:33 2009
New Revision: 191653
URL: http://svn.freebsd.org/changeset/base/191653
Log:
Grab KTR_SPARE1 and KTR_SPARE5 for KTR_INET and KTR_INET6
respectively, as placeholder for future use of CTR() by
the networking code (MLDv2 will be going in shortly).
Mark KTR_SPARE* as being used in fact by cxgb (picked up
on a 'make universe' run).
Modified:
head/sys/sys/ktr.h
Modified: head/sys/sys/ktr.h
==============================================================================
--- head/sys/sys/ktr.h Wed Apr 29 09:52:04 2009 (r191652)
+++ head/sys/sys/ktr.h Wed Apr 29 09:54:33 2009 (r191653)
@@ -55,24 +55,24 @@
#define KTR_TRAP 0x00000100 /* Trap processing */
#define KTR_INTR 0x00000200 /* Interrupt tracing */
#define KTR_SIG 0x00000400 /* Signal processing */
-#define KTR_SPARE2 0x00000800 /* Unused */
+#define KTR_SPARE2 0x00000800 /* XXX Used by cxgb */
#define KTR_PROC 0x00001000 /* Process scheduling */
#define KTR_SYSC 0x00002000 /* System call */
#define KTR_INIT 0x00004000 /* System initialization */
-#define KTR_SPARE3 0x00008000 /* Unused */
-#define KTR_SPARE4 0x00010000 /* Unused */
+#define KTR_SPARE3 0x00008000 /* XXX Used by cxgb */
+#define KTR_SPARE4 0x00010000 /* XXX Used by cxgb */
#define KTR_EVH 0x00020000 /* Eventhandler */
#define KTR_VFS 0x00040000 /* VFS events */
#define KTR_VOP 0x00080000 /* Auto-generated vop events */
#define KTR_VM 0x00100000 /* The virtual memory system */
-#define KTR_SPARE1 0x00200000 /* Unused */
+#define KTR_INET 0x00200000 /* IPv4 stack */
#define KTR_RUNQ 0x00400000 /* Run queue */
#define KTR_CONTENTION 0x00800000 /* Lock contention */
#define KTR_UMA 0x01000000 /* UMA slab allocator */
#define KTR_CALLOUT 0x02000000 /* Callouts and timeouts */
#define KTR_GEOM 0x04000000 /* GEOM I/O events */
#define KTR_BUSDMA 0x08000000 /* busdma(9) events */
-#define KTR_SPARE5 0x10000000 /* Unused */
+#define KTR_INET6 0x10000000 /* IPv6 stack */
#define KTR_SCHED 0x20000000 /* Machine parsed sched info. */
#define KTR_BUF 0x40000000 /* Buffer cache */
#define KTR_ALL 0x7fffffff
More information about the svn-src-all
mailing list