* Andrew Morton <[email protected]> wrote:
> It sounds like it would work OK. What is the setup cost for a usleep?
> I'd have thought that code which does something like
>
> while (i++ < 1000) {
> foo();
> udelay(1);
> }
>
> would take qiute a bit longer with such a change?
full roundtrip cost ought to be below 10 usecs, depending on the system.
There's no problem doing a non-preemptible udelay up to 10 usecs and we
could use usleep above that.
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]