From owner-freebsd-arch@FreeBSD.ORG Fri Apr 9 23:07:38 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC57410657D3; Fri, 9 Apr 2010 23:07:38 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (relay04.stack.nl [IPv6:2001:610:1108:5010::107]) by mx1.freebsd.org (Postfix) with ESMTP id 834CF8FC17; Fri, 9 Apr 2010 23:07:38 +0000 (UTC) Received: from turtle.stack.nl (turtle.stack.nl [IPv6:2001:610:1108:5010::132]) by mx1.stack.nl (Postfix) with ESMTP id C2FD21DD640; Sat, 10 Apr 2010 01:07:36 +0200 (CEST) Received: by turtle.stack.nl (Postfix, from userid 1677) id AAA3317533; Sat, 10 Apr 2010 01:07:36 +0200 (CEST) Date: Sat, 10 Apr 2010 01:07:36 +0200 From: Jilles Tjoelker To: Attilio Rao Message-ID: <20100409230736.GA7317@stack.nl> References: <20100404175140.GB40499@stack.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Ed Maste , freebsd-arch@freebsd.org Subject: Re: so_rcv_sx, deadlkres, SIGSTOP X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2010 23:07:38 -0000 On Thu, Apr 08, 2010 at 11:57:10AM +0200, Attilio Rao wrote: > Jilles, > may you please try this patch?: > http://www.freebsd.org/~attilio/Sandvine/deadlkres/deadlkres-blessed.diff > It does introduce a blessed list where the sx_lock can be whitelisted. > It also fixes, for long sleeps, the wrap-up of ticks object. > The obvious fallout is that deadlkres can't help much with deadlocks > for whitelisted sxlock or lockmgr but that is a fair price I think. This fixes the inappropriate deadlkres triggering for me. -- Jilles Tjoelker