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 _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"