[lkml]   [2009]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] add function spin_event_timeout()
Jeremy Fitzhardinge wrote:

> A jiffy is a really long time to be spinning, let alone liffies plural.
> In this use case are you expecting that the loop will iterate a very
> small number of times before returning, and the timeout case is a very
> unlikely error condition?

Yes, in version 3 of this patch, I switch to using udelay(). I might
need to post a v4 though.

Timur Tabi
Linux kernel developer at Freescale

 \ /
  Last update: 2009-03-09 22:09    [W:0.059 / U:26.532 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site