diff options
author | Stanislaw Gruszka <[email protected]> | 2009-07-29 12:15:27 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-08-03 14:48:35 +0200 |
commit | 8356b5f9c424e5831715abbce747197c30d1fd71 (patch) | |
tree | 87de74cc86f6eebf88eba9a4c335614787d984c5 /lib/cpu-notifier-error-inject.c | |
parent | 42c4ab41a176ee784c0f28c0b29025a8fc34f05a (diff) |
itimers: Fix periodic tics precision
Measure ITIMER_PROF and ITIMER_VIRT timers interval error
between real ticks and requested by user. Take it into account
when scheduling next tick.
This patch introduce possibility where time between two
consecutive tics is smaller then requested interval, it
preserve however dependency that n tick is generated not
earlier than n*interval time - counting from the beginning of
periodic signal generation.
Signed-off-by: Stanislaw Gruszka <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions