Re: mdelay causes BUG, please use udelay

From: Benjamin LaHaise (bcrl@redhat.com)
Date: Tue Aug 20 2002 - 19:27:54 EST


On Tue, Aug 20, 2002 at 05:20:02PM -0700, Feldman, Scott wrote:
> > - msec_delay(10);
> > + usec_delay(10000);
>
> Jeff, 10000 seems on the border of what's OK. If it's acceptable, then
> let's go for that. Otherwise, we're going to have to chain several
> mod_timer callbacks together to do a controller reset.

10000 is beyond okay. You've just lost multiple timer ticks.

                -ben

-- 
"You will be reincarnated as a toad; and you will be much happier."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Aug 23 2002 - 22:00:21 EST