From owner-freebsd-current@FreeBSD.ORG Fri Apr 9 04:13:16 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9BB516A4CE for ; Fri, 9 Apr 2004 04:13:16 -0700 (PDT) Received: from cmsrelay02.mx.net (cmsrelay02.mx.net [165.212.11.111]) by mx1.FreeBSD.org (Postfix) with SMTP id 80D2B43D64 for ; Fri, 9 Apr 2004 04:13:16 -0700 (PDT) (envelope-from noackjr@alumni.rice.edu) Received: from uadvg137.cms.usa.net (165.212.11.137) by cmsoutbound.mx.net with SMTP; 9 Apr 2004 11:13:16 -0000 Received: from optimator.noacks.org [65.69.0.65] by uadvg137.cms.usa.net (ASMTP/noackjr@usa.net) via mtad (C8.MAIN.3.13N) with ESMTP id 473iDiLNN0032M37; Fri, 09 Apr 2004 11:13:13 GMT X-USANET-Auth: 65.69.0.65 AUTH noackjr@usa.net optimator.noacks.org Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id AABE9615F; Fri, 9 Apr 2004 06:13:11 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 33729-05; Fri, 9 Apr 2004 06:13:08 -0500 (CDT) Received: from alumni.rice.edu (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id D5A0C60E7; Fri, 9 Apr 2004 06:13:08 -0500 (CDT) Message-ID: <40768544.2070806@alumni.rice.edu> Date: Fri, 09 Apr 2004 06:13:08 -0500 From: Jon Noack User-Agent: Mozilla Thunderbird 0.5+ (Windows/20040312) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Artem Koutchine References: <01aa01c41e1a$0e916890$0c00a8c0@artem> In-Reply-To: <01aa01c41e1a$0e916890$0c00a8c0@artem> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at noacks.org cc: freebsd-current@freebsd.org Subject: Re: What does 'lock order reversal' mean? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2004 11:13:17 -0000 On 4/9/2004 5:04 AM, Artem Koutchine wrote: > When i run test perl scripts (6 processes in parallel) > which crate a big array, manupulate it, free and over again > so 2GB of ram is used up and system starts using swap i see > the message below (only onces). What does it mean? > > Apr 7 20:16:34 new kernel: lock order reversal > Apr 7 20:16:34 new kernel: 1st 0xc79446b4 vm object (vm object) @ > /usr/src/sys/vm/swap_pager.c:1313 > Apr 7 20:16:35 new kernel: 2nd 0xc08b9e00 swap_pager swhash (swap_pager > swhash) @ /usr/src/sys/vm/swap_pager.c:1803 > Apr 7 20:16:35 new kernel: 3rd 0xc7898294 vm object (vm object) @ > /usr/src/sys/vm/uma_core.c:886 This is: 1) A FAQ. 2) A false positive. 3) Completely harmless. Previously reported to the list: 1) 04/07/2004 (by you) 2) 03/31/2004 3) 03/28/2004 4) 03/24/2004 5) 03/22/2004 6) 03/18/2004 7) ... For a good explanation of lock order reversals: http://lists.freebsd.org/pipermail/freebsd-current/2003-December/016617.html I'll put up a webpage of false-positives if someone will commit a change in the LOR warning to point to it (or something similar to this): "lock order reversal: please see http://example.com for status before reporting" I still think it would be best if this page were on the FreeBSD website, but I'll host it if necessary. Jon Noack