From owner-svn-src-head@FreeBSD.ORG Wed Apr 29 09:54:34 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44456106566C; Wed, 29 Apr 2009 09:54:34 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 198418FC1A; Wed, 29 Apr 2009 09:54:34 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n3T9sX21075499; Wed, 29 Apr 2009 09:54:33 GMT (envelope-from bms@svn.freebsd.org) Received: (from bms@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n3T9sXK6075498; Wed, 29 Apr 2009 09:54:33 GMT (envelope-from bms@svn.freebsd.org) Message-Id: <200904290954.n3T9sXK6075498@svn.freebsd.org> From: Bruce M Simpson Date: Wed, 29 Apr 2009 09:54:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r191653 - head/sys/sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Apr 2009 09:54:34 -0000 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