[lkml]   [2017]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] Improving udelay/ndelay on platforms where that is possible
On 01/11/2017 20:09, Linus Torvalds wrote:

> On Wed, Nov 1, 2017 at 12:03 PM, Marc Gonzalez 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".

Yes, sorry, I wrote "default" when I meant "fallback".
(arm32 currently does not define a specific ndelay implementation.)

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

OK, I'll just send my patch, and then crawl back under my rock.


 \ /
  Last update: 2017-11-01 20:39    [W:0.135 / U:3.016 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site