From owner-freebsd-arch@FreeBSD.ORG Sat Oct 2 23:37:41 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5812E16A4CE for ; Sat, 2 Oct 2004 23:37:41 +0000 (GMT) Received: from duchess.speedfactory.net (duchess.speedfactory.net [66.23.201.84]) by mx1.FreeBSD.org (Postfix) with SMTP id D465C43D1F for ; Sat, 2 Oct 2004 23:37:40 +0000 (GMT) (envelope-from ups@tree.com) Received: (qmail 26509 invoked by uid 89); 2 Oct 2004 23:37:39 -0000 Received: from duchess.speedfactory.net (66.23.201.84) by duchess.speedfactory.net with SMTP; 2 Oct 2004 23:37:39 -0000 Received: (qmail 26487 invoked by uid 89); 2 Oct 2004 23:37:39 -0000 Received: from unknown (HELO palm.tree.com) (66.23.216.49) by duchess.speedfactory.net with SMTP; 2 Oct 2004 23:37:39 -0000 Received: from [127.0.0.1] (localhost.tree.com [127.0.0.1]) by palm.tree.com (8.12.10/8.12.10) with ESMTP id i92Nbcmt034963; Sat, 2 Oct 2004 19:37:38 -0400 (EDT) (envelope-from ups@tree.com) From: Stephan Uphoff To: Peter Holm In-Reply-To: <20041002183120.GA1202@peter.osted.lan> References: <1096489576.3733.1868.camel@palm.tree.com> <200409291652.29990.jhb@FreeBSD.org> <1096496057.3733.2163.camel@palm.tree.com> <1096603981.21577.195.camel@palm.tree.com> <1096608201.21577.203.camel@palm.tree.com> <20041001141040.GA1556@peter.osted.lan> <1096647194.27811.12.camel@palm.tree.com> <20041001192551.GA3381@peter.osted.lan> <415EEFFE.5080309@elischer.org> <20041002183120.GA1202@peter.osted.lan> Content-Type: text/plain Message-Id: <1096760257.34527.14.camel@palm.tree.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sat, 02 Oct 2004 19:37:37 -0400 Content-Transfer-Encoding: 7bit cc: Julian Elischer cc: "freebsd-arch@freebsd.org" Subject: Re: scheduler (sched_4bsd) questions X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2004 23:37:41 -0000 On Sat, 2004-10-02 at 14:31, Peter Holm wrote: > OK, right now I'm testing with all of Stephan's patches + the > MUTEX_WAKE_ALL flag. Uptime is 3 3/4 hour and looking good. Great. Your attached diff contained all the fixes needed and I don't see the need to post a cumulative patch. The only thing left to do is migrate a critical sections from kern_mutex.c to subr_turnstile.c for readability. (no functional changes) Maybe it would also better to just force MUTEX_WAKE_ALL in kern_mutex.c (#ifndef MUTEX_WAKE_ALL \n#define MUTEX_WAKE_ALL\n#endif) to avoid temporary configuration file pollution? Stephan