The advantages are simpler code, and uniform initialisation of expires and hr_expires variables.
-- KeirReplace a fix for a comparison overflow in next_timer_interrupt() with a simpler alternative. We can be sure that the interesting range of timer values around jiffies is safe to compare with jiffies+(LONG_MAX>>1), unlike jiffies+MAX_JIFFY_OFFSET.
Signed-off-by: Keir Fraser <[email protected]>
Attachment:
fix-next-timer-interrupt.patch
Description: Binary data
- Follow-Ups:
- Re: [PATCH] next_timer_interrupt: simpler overflow handling
- From: Zachary Amsden <[email protected]>
- Re: [PATCH] next_timer_interrupt: simpler overflow handling
- Prev by Date: Re: Random panics seen in 2.6.18-rc1
- Next by Date: sparse warnings for variable length arrays
- Previous by thread: [PATCH] 2.6.17-rt add clockevent to ixp4xx
- Next by thread: Re: [PATCH] next_timer_interrupt: simpler overflow handling
- Index(es):