diff options
| author | 2009-04-29 12:47:01 +0200 | |
|---|---|---|
| committer | 2009-04-29 14:51:02 +0200 | |
| commit | 4295ee62660b13ddb87d41539f49b239e6e7d56f (patch) | |
| tree | bdd7c1b1c1b4c1c4b05d42d4837c6fbf8ad5e5f8 /scripts/patch-kernel | |
| parent | perf_counter, x86: add default path to cpu detection (diff) | |
perf_counter, x86: rework pmc_amd_save_disable_all() and pmc_amd_restore_all()
MSR reads and writes are expensive. This patch adds checks to avoid
its usage where possible.
[ Impact: micro-optimization on AMD CPUs ]
Signed-off-by: Robert Richter <robert.richter@amd.com>
Cc: Paul Mackerras <paulus@samba.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1241002046-8832-5-git-send-email-robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
