Linux.com

Home Linux Community Forums Programming and Development Kernel Development Kernel timer behaviour during jiffies wrap around.

Kernel timer behaviour during jiffies wrap around.

Link to this post 15 Apr 13

Could you please help me to understand the "Kernel timer" behaviour during the below scenario(Assume the machine is 32bit machine) in 2.6.x kernels.

Scenario:
A Kernel timer's expiry value is initialized to "jiffies+8", when the jiffies value is "0xFFFFFFF0". This Kernel timer is added using add_timer() API after the jiffies wrap around(say the jiffies value is 0x01000000).

What time the Kernel timer's timeout function will be called in this scenario?

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board