From owner-cvs-all@FreeBSD.ORG Wed Dec 29 21:00:42 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B646F16A4CE for ; Wed, 29 Dec 2004 21:00:42 +0000 (GMT) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AA8D43D54 for ; Wed, 29 Dec 2004 21:00:41 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 14864 invoked from network); 29 Dec 2004 21:00:41 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 29 Dec 2004 21:00:40 -0000 Received: from [10.50.41.243] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id iBTL0QdH004673; Wed, 29 Dec 2004 16:00:32 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Nate Lawson Date: Wed, 29 Dec 2004 14:37:16 -0500 User-Agent: KMail/1.6.2 References: <200412260013.iBQ0DcJ1074546@repoman.freebsd.org> <20041229124826.Q60504@mail.chesapeake.net> <41D30245.8020600@root.org> In-Reply-To: <41D30245.8020600@root.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200412291437.16063.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Jeff Roberson cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/sys ktr.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2004 21:00:42 -0000 On Wednesday 29 December 2004 02:15 pm, Nate Lawson wrote: > Jeff Roberson wrote: > > On Wed, 29 Dec 2004, Nate Lawson wrote: > >>Also, could someone please get us more KTR ids while they're at it? We > >>only have 2 left. > > > > I think we should make one or to KTR_LOCAL's or something like that. So > > you can have a define in your file for KTR_MYCODE 0, and when you want to > > debug it, define it to KTR_LOCAL. There are a bunch of KTR ids that are > > used for things that don't really need to be global that we could gc if > > we do that. > > Isn't there a way to dynamically allocate ids, like sysctl does for oid? KTR_COMPILE is rather static and compile-time bound. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org