diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-02-12 09:00:52 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-13 07:04:05 -0500 |
commit | 3997ad317fdf9ecdb5702e2b4fd1f8229814ff8c (patch) | |
tree | be0b1802f65e85157d97acac38f1bd310ba6d626 /kernel/rcutree.c | |
parent | 37bed90094fdb1eea6e4afec6a200d4e60143e55 (diff) |
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 'kernel/rcutree.c')
0 files changed, 0 insertions, 0 deletions