Messages in this thread | | | From | arijort@valinux ... | Date | Mon, 21 Feb 2000 19:53:34 -0500 (EST) | Subject | Re: 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/
| |