Date: Tue, 12 Dec 2006 16:09:38 +0300 From: Dmitriy Kirhlarov <dimma@higis.ru> To: stable@freebsd.org Subject: Re: RELENG_6 panic under heavy load Message-ID: <20061212130937.GF39171@dkirhlarov.mow.oilspace.com> In-Reply-To: <200612122049.21525.davidxu@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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061212130937.GF39171>