diff options
author | Clemens Ladisch <[email protected]> | 2011-02-10 16:15:44 +0100 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2011-02-10 18:53:29 +0100 |
commit | b1d4f7f4bdcf9915c41ff8cfc4425c84dabb1fde (patch) | |
tree | 092e1575eb7c098670ebebd568566067e11a8c32 /tools/perf/util/trace-event-scripting.c | |
parent | a6c47a85b8e7e4a8c47394607c5e5c43224b0892 (diff) |
ALSA: hrtimer: handle delayed timer interrupts
If a timer interrupt was delayed too much, hrtimer_forward_now() will
forward the timer expiry more than once. When this happens, the
additional number of elapsed ALSA timer ticks must be passed to
snd_timer_interrupt() to prevent the ALSA timer from falling behind.
This mostly fixes MIDI slowdown problems on highly-loaded systems with
badly behaved interrupt handlers.
Signed-off-by: Clemens Ladisch <[email protected]>
Reported-and-tested-by: Arthur Marsh <[email protected]>
Cc: <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions