Re: mdelay causes BUG, please use udelay

H. Peter Anvin
2002-08-21T00:24:26Z

Followup to: <288F9BF66CD9D5118DF400508B68C4460283E4AF@orsmsx113.jf.intel.com>
By author: "Feldman, Scott" <scott.feldman@intel.com>
In newsgroup: linux.dev.kernel
>
> > - 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.
>

10 ms in an interrupt context? Surely you're joking...

-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com>