Re: patch: delay_50ms() in ide-probe.c in 2.2.14

From: arijort@valinux.com
Date: Mon Feb 21 2000 - 19:53:34 EST


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/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:29 EST