From owner-freebsd-stable@FreeBSD.ORG Tue Dec 12 13:12:01 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5E26416A4CE for ; Tue, 12 Dec 2006 13:12:01 +0000 (UTC) (envelope-from dkirhlarov@oilspace.com) Received: from office.oilspace.com (office.oilspace.com [194.129.65.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB6A843CD2 for ; Tue, 12 Dec 2006 13:08:28 +0000 (GMT) (envelope-from dkirhlarov@oilspace.com) Received: from dkirhlarov.mow.oilspace.com (mos.oilspace.com [81.222.156.189]) by office.oilspace.com (Postfix) with ESMTP id E44F4136D17 for ; Tue, 12 Dec 2006 13:09:38 +0000 (GMT) Received: from dkirhlarov.mow.oilspace.com (localhost [127.0.0.1]) by dkirhlarov.mow.oilspace.com (8.13.8/8.13.8) with ESMTP id kBCD9c9n076542 for ; Tue, 12 Dec 2006 16:09:38 +0300 (MSK) (envelope-from dkirhlarov@dkirhlarov.mow.oilspace.com) Received: (from dkirhlarov@localhost) by dkirhlarov.mow.oilspace.com (8.13.8/8.13.8/Submit) id kBCD9cug076541 for stable@freebsd.org; Tue, 12 Dec 2006 16:09:38 +0300 (MSK) (envelope-from dkirhlarov) Date: Tue, 12 Dec 2006 16:09:38 +0300 From: Dmitriy Kirhlarov To: stable@freebsd.org Message-ID: <20061212130937.GF39171@dkirhlarov.mow.oilspace.com> Mail-Followup-To: stable@freebsd.org References: <20061113084430.GE59604@dimma.mow.oilspace.com> <200612071118.52922.davidxu@freebsd.org> <20061212122221.GE39171@dkirhlarov.mow.oilspace.com> <200612122049.21525.davidxu@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200612122049.21525.davidxu@freebsd.org> X-Mailer: Mutt-ng devel (2005-03-13) based on Mutt 1.5.9 X-Operating-System: FreeBSD 6.2-PRERELEASE User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: Subject: Re: RELENG_6 panic under heavy load X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Dec 2006 13:12:01 -0000 On Tue, Dec 12, 2006 at 08:49:21PM +0800, David Xu wrote: > > I've tested it. This patch works also, but with a little bit different > > behaviour. With patch from jhb@ I got LA 7-8, with this patch I have > > LA 5-6, same as on unpatched system. But it seems to me, that system > > is less interactive, compared to jhb@ patch. > > jhb patch is incomplete, it implies that every place a thread is doing state > transition and waking another thread up should be patched, there is > other code in kern_sig.c unpatched, though I don't know other places, > but the code maybe_preempt_in_ksegrp should be synced with > maybe_preempt, it should fix all problems. the LA you have seen is lower > than jhb might be a nature of KSEGRP, but I am not sure, if you program > forces all threads to be system-scope, it might fix the problem. I think, kern/105464 can be closed, after commit your patch. WBR. Dmitriy