Welcome to the Linux Foundation Forum!

Kernel timer behaviour during jiffies wrap around.

Options
ravi.chakram
ravi.chakram Posts: 55
edited April 2013 in Kernel Development

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?

Categories

Upcoming Training