From owner-cvs-all@FreeBSD.ORG Mon Nov 13 15:22:49 2006 Return-Path: X-Original-To: cvs-all@freebsd.org 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 2B51F16A500; Mon, 13 Nov 2006 15:22:49 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBF8D43E5C; Mon, 13 Nov 2006 15:11:39 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id kADFBGLV013412; Mon, 13 Nov 2006 10:11:21 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Kip Macy Date: Mon, 13 Nov 2006 10:11:10 -0500 User-Agent: KMail/1.9.1 References: <200611130541.kAD5fk6c000792@repoman.freebsd.org> In-Reply-To: <200611130541.kAD5fk6c000792@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611131011.11119.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 13 Nov 2006 10:11:21 -0500 (EST) X-Virus-Scanned: ClamAV 0.88.3/2190/Mon Nov 13 04:31:57 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/sys _lock.h lock.h lock_profile.h src/sys/kern kern_lock.c kern_mutex.c kern_rwlock.c kern_sx.c subr_lock.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 13 Nov 2006 15:22:49 -0000 On Monday 13 November 2006 00:41, Kip Macy wrote: > kmacy 2006-11-13 05:41:46 UTC > > FreeBSD src repository > > Modified files: > sys/sys _lock.h lock_profile.h lock.h > sys/kern kern_lock.c kern_mutex.c kern_rwlock.c > kern_sx.c subr_lock.c > Log: > track lock class name in a way that doesn't break WITNESS Is there any reason not to just make lockmgr call lock_init() and lock_destroy() and then do lock_profile_object_init() and lock_profile_object_destroy() from those? -- John Baldwin