From owner-freebsd-current@FreeBSD.ORG Tue Aug 17 11:25:38 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 1562416A4CE for ; Tue, 17 Aug 2004 11:25:38 +0000 (GMT) Received: from mx1.imp.ch (mx1.imp.ch [157.161.9.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D0AA43D3F for ; Tue, 17 Aug 2004 11:25:37 +0000 (GMT) (envelope-from mb@imp.ch) Received: from mx2.imp.ch (mx2o [157.161.9.17]) by mx1.imp.ch (8.12.11/8.12.11) with ESMTP id i7HBPTea004077 for ; Tue, 17 Aug 2004 13:25:30 +0200 (CEST) (envelope-from mb@imp.ch) Received: from mx2.imp.ch (localhost [127.0.0.1]) by mx2.imp.ch (8.12.11/8.12.11/Submit) with ESMTP id i7HBPQeX063249 for ; Tue, 17 Aug 2004 13:25:27 +0200 (CEST) (envelope-from mb@imp.ch) Received: (from clamav@localhost) by mx2.imp.ch (8.12.11/8.12.11/Submit) id i7HBPP0R063245 for ; Tue, 17 Aug 2004 13:25:25 +0200 (CEST) (envelope-from mb@imp.ch) Received: from cvs.imp.ch (cvs.imp.ch [157.161.4.9]) by ns1.imp.ch (MIMEDefang) with ESMTP id i7HBPLZW098697; Tue, 17 Aug 2004 13:25:25 +0200 (CEST) Date: Tue, 17 Aug 2004 13:25:21 +0200 (CEST) From: Martin Blapp To: Jon Noack In-Reply-To: <4121944C.5060802@alumni.rice.edu> Message-ID: <20040817132426.U4594@cvs.imp.ch> References: <20040813121208.M31181@cvs.imp.ch> <20040813102922.E93695@carver.gumbysoft.com> <411D20DF.2000503@samsco.org> <411E9399.3050200@alumni.rice.edu> <411EF85A.30006@elischer.org> <4121944C.5060802@alumni.rice.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Resent: Yes X-Spam-Checksum: 1e45e287f0098ad4a7468193bb3d6d3a X-Virus-Message-Status: No X-Virus-Status: No, scantime="0.0041 seconds" X-Spam-Status: No, hits=-5.9 required=5 scantime="3.4704 seconds" tests=BAYES_00, SMILEY X-Scanned-By: MIMEDefang 2.44 cc: freebsd-current@freebsd.org cc: Julian Elischer Subject: Re: Deadlocks with recent SMP current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 11:25:38 -0000 Hi, > > + if ((ctd->td_kse == NULL) || (ctd->td_kse->ke_thread != ctd)) > > + return (0); > With the previous patch I still had difficulties getting through a > buildworld in multi-user (while running apache, postfix+amavisd-new, > nfs, etc.). With this patch I have not run into any issues (make -j4 > buildworlds are stable on my dual p3 even after uncommenting > -DUSE_KQUEUE and rebuilding make). If the last patch was a bandaid, > this is one of those new-fangled "sport" bandaids that are water- and > sweat-resistent... ;-) Have you PREEMPTION or FULL_PREEMTION defined ? Else I can't see how this patch would be effective. Martin