diff options
author | Gleb Natapov <gleb@redhat.com> | 2012-08-09 11:52:34 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-08-13 19:01:04 +0200 |
commit | 26a4f3c08de49c1437a7b7f97693cf22d8c31656 (patch) | |
tree | 3f1bafcd6e9cac2dfb0d26236d79fcc9ba970938 /lib/bsearch.c | |
parent | cb37af77124e8532e6ae3f9ca332593ba423b5f8 (diff) |
perf/x86: disable PEBS on a guest entry.
If PMU counter has PEBS enabled it is not enough to disable counter
on a guest entry since PEBS memory write can overshoot guest entry
and corrupt guest memory. Disabling PEBS during guest entry solves
the problem.
Tested-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20120809085234.GI3341@redhat.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'lib/bsearch.c')
0 files changed, 0 insertions, 0 deletions