Re: [PATCH] POSIX timers SMP race condition

From: Arun Sharma
Date: Wed Sep 28 2005 - 16:36:34 EST


On Fri, Sep 23, 2005 at 05:11:14PM -0700, Arun Sharma wrote:
> On Fri, Sep 23, 2005 at 03:54:44PM -0700, Arun Sharma wrote:
> > - if (!unlikely(t->exit_state)) {
> > + if (!unlikely(t->flags & PF_EXITING)) {
>
> I just had this problem happen again, after the patch. It looks like we
> need to cover other unguarded assignments to tsk->it_prof_expires,
> which could possibly race with do_exit().

False alarm, sorry. The kernel turned out be unpatched. I haven't seen
the BUG() since then.

-Arun
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/