lkml.org 
[lkml]   [2000]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
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?


Thanks,

ari



> > 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 majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site