diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-02-12 15:00:52 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-13 13:04:05 +0100 |
commit | 3997ad317fdf9ecdb5702e2b4fd1f8229814ff8c (patch) | |
tree | be0b1802f65e85157d97acac38f1bd310ba6d626 /net/irda/irlap_frame.c | |
parent | 37bed90094fdb1eea6e4afec6a200d4e60143e55 (diff) | |
download | blackbird-op-linux-3997ad317fdf9ecdb5702e2b4fd1f8229814ff8c.tar.gz blackbird-op-linux-3997ad317fdf9ecdb5702e2b4fd1f8229814ff8c.zip |
timers: more consistently use clock vs timer
While reviewing the manpages, I noticed I'd missed some clock vs timer sites.
Make sure that all timer functions call cpu_timer_sample_group() and not
cpu_clock_sample_group(). This ensures that we enable the process wide timer
in time, and therefore pay the O(n) thread group cost from the syscall.
Not doing it here, will result in the first jiffy tick after setting the timer
doing this, resulting in a very expensive tick (but only once) and a delay in
actually starting the timer.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'net/irda/irlap_frame.c')
0 files changed, 0 insertions, 0 deletions