[lkml]   [2010]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] [PATCH] timer: Added usleep[_range][_interruptable] timer

> > Yes, this test was leftover from a different project that involved refactoring
> > timers, so it was available and easy. My guess for the reduction in number of
> > wakeups is that the processor is able to do other work during the 100us it was
> > previously busy-waiting, and thus had to wake up less often.
> As I said in the prior email the udelay()'s don't preclude other types
> of work since you can get preempted.

Yes, you can get preempted, but you'll still spin in the tight loop

So it does not preclude other task, but then you'll spin
(cesky, pictures)

 \ /
  Last update: 2010-06-26 23:47    [W:0.056 / U:5.068 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site