diff options
author | Robert Richter <robert.richter@amd.com> | 2009-04-29 12:47:01 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-29 14:51:02 +0200 |
commit | 4295ee62660b13ddb87d41539f49b239e6e7d56f (patch) | |
tree | bdd7c1b1c1b4c1c4b05d42d4837c6fbf8ad5e5f8 /Documentation/filesystems/nfs-rdma.txt | |
parent | 4138960a9251a265002b5cf07e671a49f8495381 (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 'Documentation/filesystems/nfs-rdma.txt')
0 files changed, 0 insertions, 0 deletions