[RFC] Improving udelay/ndelay on platforms where that is possible

Linus Torvalds torvalds at linux-foundation.org
Wed Nov 1 12:09:19 PDT 2017


On Wed, Nov 1, 2017 at 12:03 PM, Marc Gonzalez
<marc_gonzalez at sigmadesigns.com> wrote:
>
> By default, ndelay is implemented in terms of udelay.

That's very much *NOT* the case.

Yes, there is a *fallback* for when somebody doesn't do ndelay() at
all, but that doesn't make it the default.

It's just a "the architecture didn't implement ndelay at all, we'll
work around it".

So stop this idiocy already. About half of what I've seen in this
thread has been pure garbage.

                       Linus



More information about the linux-arm-kernel mailing list