Re: Hang in work_resched

From: Peter Zijlstra
Date: Thu Jan 31 2008 - 06:32:42 EST



On Thu, 2008-01-31 at 12:29 +0100, Guillaume Chazarain wrote:
> On Jan 31, 2008 9:55 AM, Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:
> > Does this patch from thomas fix it as well?
>
> Unfortunately, not.
>
> For information, reverting just the first part of the offending commit
> (sl->timer.cb_mode) fixed the problem, while reverting only the second
> part (if (!hrtimer_active(&t->timer))) had no effect.
>
> Also, I found a trivially reproductible testcase : sleep 0.
>
> It hangs in nanosleep({0, 0}).

Thanks, I'll go look.

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