Re: Deadlocks with recent SMP current

From: Martin Blapp <mb_at_imp.ch>
Date: Tue, 17 Aug 2004 13:25:21 +0200 (CEST)
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
Received on Tue Aug 17 2004 - 09:25:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:06 UTC