Re: Deadlocks with recent SMP current

From: Jon Noack <noackjr_at_alumni.rice.edu>
Date: Tue, 17 Aug 2004 10:03:01 -0500 (CDT)
Martin Blapp wrote:
>> > +        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.

No, I don't have PREEMPTION defined.  Have I just been lucky so far?

Jon
Received on Tue Aug 17 2004 - 13:03:03 UTC

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