diff options
| author | Ingo Molnar <[email protected]> | 2009-05-17 10:04:45 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-05-17 12:27:37 +0200 |
| commit | d2517a49d55536b38c7a87e5289550cfedaa4dcc (patch) | |
| tree | ee36f662094f0f09575cd2fbc4e6a67a716081d0 /include/linux/stackprotector.h | |
| parent | 0203026b58b4299ba7281c0b4b417207c1f05d0e (diff) | |
perf_counter, x86: fix zero irq_period counters
The quirk to irq_period unearthed an unrobustness we had in the
hw_counter initialization sequence: we left irq_period at 0, which
was then quirked up to 2 ... which then generated a _lot_ of
interrupts during 'perf stat' runs, slowed them down and skewed
the counter results in general.
Initialize irq_period to the maximum instead.
[ Impact: fix perf stat results ]
Cc: Peter Zijlstra <[email protected]>
Cc: Srivatsa Vaddagiri <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Marcelo Tosatti <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions