From owner-cvs-all Tue Dec 31 13:40:35 2002 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 C0C2A37B401; Tue, 31 Dec 2002 13:40:34 -0800 (PST) Received: from cleitus.hosting.swbell.net (cleitus.hosting.swbell.net [216.100.99.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB94343EE1; Tue, 31 Dec 2002 13:40:33 -0800 (PST) (envelope-from alc@imimic.com) Received: from imimic.com (adsl-216-63-78-18.dsl.hstntx.swbell.net [216.63.78.18]) by cleitus.hosting.swbell.net id QAA01955; Tue, 31 Dec 2002 16:40:26 -0500 (EST) [ConcentricHost SMTP Relay 1.14] Message-ID: <3E120EC2.A4AD32DB@imimic.com> Date: Tue, 31 Dec 2002 15:40:18 -0600 From: "Alan L. Cox" Organization: iMimic Networking, Inc. X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Nate Lawson , Alan Cox , cvs-all@freebsd.org, cvs-committers@freebsd.org Subject: Re: cvs commit: src/sys/vm vm_map.c vm_map.h References: <3E120AAF.539CB4F1@imimic.com> Content-Type: text/plain; charset=x-user-defined Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Alan L. Cox" wrote: > > > > Please use the non-underscore, exported mtx_* routines. The macros expand > > to the same thing unless you're doing something strange w/ file and line > > (but I don't see that in your patch). > > > > Yes, they expand to rather useless information: line X of _vm_map_lock. > As I've written it, any messages will report the call site of > _vm_map_lock, which is what we want to know. > In fact, just as I wrote this message, I got the following example: acquiring duplicate lock of same type: "system map" 1st system map @ ../../../vm/vm_map.c:2160 2nd system map @ ../../../vm/vm_kern.c:324 Regards, Alan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message