]> git.neil.brown.name Git - history.git/commit
[PATCH] another timer overflow thing
authorIngo Molnar <mingo@elte.hu>
Sun, 6 Jul 2003 05:58:33 +0000 (22:58 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 6 Jul 2003 05:58:33 +0000 (22:58 -0700)
commite939c913081c23c84e77fc1e5a480b1eead393ee
treec3be97e5b0b9d64e915add610533b92a8cb7c34b
parentf0a8aa740a24500b3379396ace6737722d0de1d4
[PATCH] another timer overflow thing

in add_timer_internal() we simply leave the timer pending forever if the
expiry is in more than 0xffffffff jiffies. This means more than 48 days on
eg. ia64 - which is not an unrealistic timeout. IIRC crond is happy to use
extremely large timeouts.

It's better to time out early (if you can call 48 days "early") than to
not time out at all.
kernel/timer.c