From owner-freebsd-mobile@FreeBSD.ORG Sun Dec 21 20:10:06 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C141316A4CE for ; Sun, 21 Dec 2003 20:10:06 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 503DE43D68 for ; Sun, 21 Dec 2003 20:10:02 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 4312A72DBF; Sun, 21 Dec 2003 20:10:02 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 40C2C72DB5; Sun, 21 Dec 2003 20:10:02 -0800 (PST) Date: Sun, 21 Dec 2003 20:10:02 -0800 (PST) From: Doug White To: Tony Saign In-Reply-To: <1072047493.1618.6.camel@frankenmobl.sdwireless.info> Message-ID: <20031221200752.L55059@carver.gumbysoft.com> References: <20031220095214.KACS21446.shunit@shunit> <200312201003.24767.racerx@makeworld.com> <1072047493.1618.6.camel@frankenmobl.sdwireless.info> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-mobile@freebsd.org Subject: Re: T23 -CURRENT question... X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2003 04:10:06 -0000 On Sun, 21 Dec 2003, Tony Saign wrote: > After my laptop is running for several days I sometimes receive the > below in dmesg...Nothing seems to trigger it? > lock order reversal This is telling you about a design problem with the referenced functions. The WITNESS system keeps track of lock usage and ensures that locks are freed in the reverse order in which they are acquired. You can remove 'options WITNESS' from your kernel if you want them to go away. As a bonus, disabling WITNESS can give you a 50-100% performance boost. Typically, though, LORs should be reported to -current if they are new and not previously reported. > 1st 0xc7480dec vm object (vm_object) @ > /usr/src/sys/vm/swap_pager.c:1323 > 2nd 0xc07a89a0 swap_pager swhash (swap_pager swash) @ > /usr/src/vm/swap_pager.c:1838 > 3rd 0xc1036948 vm object (vm object) @ /usr/src/sys/vm/uma_core.c:881 I believe this is one of the known cases. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org