diff options
| author | Peter Zijlstra <[email protected]> | 2009-05-20 12:21:21 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-05-20 12:43:33 +0200 |
| commit | b986d7ec0f8b7ea3cc7366d80a137fbe839df227 (patch) | |
| tree | ad3e9c473b8790f800cbf9e13e3fee01230def52 /include/linux | |
| parent | 26b119bc811a73bac6ecf95bdf284bf31c7955f0 (diff) | |
perf_counter: Optimize disable of time based sw counters
Currently we call hrtimer_cancel() unconditionally on disable of time based
software counters. Avoid when possible.
[ Impact: micro-optimize the code ]
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Marcelo Tosatti <[email protected]>
Cc: John Kacur <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions