Re: 2.6.19.1-rt15: BUG in __tasklet_action at kernel/softirq.c:568

From: Steven Rostedt
Date: Wed Dec 20 2006 - 22:19:35 EST


On Wed, 2006-12-20 at 20:50 +0100, Ingo Molnar wrote:
> * Robert Crocombe <rcrocomb@xxxxxxxxx> wrote:
>
> > On 12/19/06, Ingo Molnar <mingo@xxxxxxx> wrote:
> > >yeah. This is something that triggers very rarely on certain boxes. Not
> > >fixed yet, and it's been around for some time.
> >
> > Is there anything you would like me to do to help diagnose this?
>
> to figure out what the bug is :-/ Below is the tasklet redesign patch -
> the bug must be in there somewhere.

> +static inline int tasklet_tryunlock(struct tasklet_struct *t)
> +{
> + return cmpxchg(&t->state, TASKLET_STATEF_RUN, 0) == TASKLET_STATEF_RUN;
> +}
> +

This probably isn't it, but is cmpxchg available on all archs now?

-- Steve


-
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/