diff options
author | Stanislaw Gruszka <[email protected]> | 2010-04-27 14:12:15 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2010-05-10 14:24:26 +0200 |
commit | 29f87b793da421a6ab816d991dc8dbf909dfb66a (patch) | |
tree | 807e95b5f7a41f163000d24f82e85afa96eccdd2 /tools/perf/util/trace-event-scripting.c | |
parent | dbb6be6d5e974c42bbecd183effaa0df69e1dd8b (diff) |
posix-cpu-timers: Optimize run_posix_cpu_timers()
We can optimize and simplify things taking into account signal->cputimer
is always running when we have configured any process wide cpu timer.
In check_process_timers(), we don't have to check if new updated value of
signal->cputime_expires is smaller, since we maintain new first expiration
time ({prof,virt,sched}_expires) in code flow and all other writes to
expiration cache are protected by sighand->siglock .
Signed-off-by: Stanislaw Gruszka <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Hidetoshi Seto <[email protected]>
Cc: Balbir Singh <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions