From owner-freebsd-current Wed Sep 19 11:24:54 2001 Delivered-To: freebsd-current@freebsd.org Received: from smtp3.xs4all.nl (smtp3.xs4all.nl [194.109.127.132]) by hub.freebsd.org (Postfix) with ESMTP id DFBC637B411; Wed, 19 Sep 2001 11:24:48 -0700 (PDT) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtp3.xs4all.nl (8.9.3/8.9.3) with ESMTP id UAA13897; Wed, 19 Sep 2001 20:24:47 +0200 (CEST) Received: (from wkb@localhost) by freebie.xs4all.nl (8.11.6/8.11.4) id f8JIOls01832; Wed, 19 Sep 2001 20:24:47 +0200 (CEST) (envelope-from wkb) Date: Wed, 19 Sep 2001 20:24:47 +0200 From: Wilko Bulte To: John Baldwin Cc: Garrett Wollman , current@FreeBSD.ORG Subject: Re: Seen this lock order reversal? Message-ID: <20010919202447.B1763@freebie.xs4all.nl> References: <200109181753.f8IHrqb52417@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jhb@FreeBSD.ORG on Tue, Sep 18, 2001 at 03:01:25PM -0700 X-OS: FreeBSD 4.4-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Sep 18, 2001 at 03:01:25PM -0700, John Baldwin wrote: > > On 18-Sep-01 Garrett Wollman wrote: > > lock order reversal > > 1st 0xd3a5c11c process lock @ ../../../vm/vm_glue.c:469 > > 2nd 0xc0e3fe30 lockmgr interlock @ ../../../kern/kern_lock.c:239 > > > > This is on relatively old (~ three months) sources. The first lock is > > from swapout_procs(); I assume the second lock actually refers to the > > call to lockmgr(&vm->vm_map.lock, ...) further down in the same > > function. If this has been fixed already, let me know. (It doesn't > > seem to have hurt anything.) > > It is old, but I think it has been fixed recently as a side effect of the KSE > commit. (In terms of the pre-KSE kernel, the P_DEADLKTREAT flag moved from > p_flag to p_sflag which changed its locking semantics.) Another one, on a -current from yesterday, on -alpha: lock order reversal 1st 0xfffffc00007fcef0 clk @ ../../../alpha/alpha/clock.c:702 2nd 0xfffffc00007f65d8 callout @ ../../../kern/kern_timeout.c:225 ds10# -- | / o / /_ _ email: wilko@FreeBSD.org |/|/ / / /( (_) Bulte Arnhem, The Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message