Home
last modified time | relevance | path

Searched hist:"163 ec4354a5135c6c38c3f4a9b46a31900ebdf48" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/
H A Dperf_event.hdiff 163ec4354a5135c6c38c3f4a9b46a31900ebdf48 Wed Feb 16 04:22:34 CST 2011 Peter Zijlstra <a.p.zijlstra@chello.nl> perf: Optimize throttling code

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>
/openbmc/linux/kernel/
H A Dsysctl.cdiff 163ec4354a5135c6c38c3f4a9b46a31900ebdf48 Wed Feb 16 04:22:34 CST 2011 Peter Zijlstra <a.p.zijlstra@chello.nl> perf: Optimize throttling code

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>