A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

April 15, 2013

Kernel timer behaviour during jiffies wrap around.

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.

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?

Click Here!