[lkml]   [2000]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: patch: delay_50ms() in ide-probe.c in 2.2.14

Thanks for the instructive response here on jiffies.

But where is the code that actually increments jiffies?
Where is the timer interrupt code?



> > How does jiffies change?
> It is modified from the timer interrupt. It is also marked "volatile".
> This means that the compiler is NOT allowed to move the "move jiffies
> into a register" outside the while loop.

> And the timer interrupt will increment jiffies 100 times
> a second, until the thing times out.
> Roger.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:56    [W:0.060 / U:1.472 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site