Re: Fw: Re: oops in choose_configuration()

From: Mike Galbraith
Date: Mon Mar 06 2006 - 02:45:42 EST


On Sun, 2006-03-05 at 21:00 -0800, Linus Torvalds wrote:

>
> Is there something else I've missed?

Maybe. Does this add anything to the picture? During boot,
recalc_task_prio() is called with now < p->timestamp. This causes quite
a stir. If you WARN_ON(now < p->timestamp) or printk, you'll have a
dead box due to hundreds of gripes as things churn. Adding...

if (unlikely(now < p->timestamp))
__sleep_time = 0ULL;

...turns it into exactly one gripe.

-Mike

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