git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4979d27
)
perf: Optimize throttling code
author
Peter Zijlstra
<a.p.zijlstra@chello.nl>
Wed, 16 Feb 2011 10:22:34 +0000
(11:22 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 16 Feb 2011 12:30:55 +0000
(13:30 +0100)
By pre-computing the maximum number of samples per tick we can avoid a
multiplication and a conditional since MAX_INTERRUPTS >
max_samples_per_tick.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
No differences found