diff options
author | Peter Zijlstra <[email protected]> | 2012-09-13 14:59:14 -0600 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-10-16 12:43:58 -0300 |
commit | 20b279ddb38ca42f8863cec07b4d45ec24589f13 (patch) | |
tree | 993ddf58189bc665e0f392042321770e488e123d /net/unix/garbage.c | |
parent | 1342798cc13e3b48d9b5738f0c8fa812ccea8101 (diff) |
perf: Require exclude_guest to use PEBS - kernel side enforcement
Intel PEBS in VT-x context uses the DS address as a guest linear
address, even though its programmed by the host as a host linear
address. This either results in guest memory corruption and or the
hardware faulting and 'crashing' the virtual machine. Therefore we have
to disable PEBS on VT-x enter and re-enable on VT-x exit, enforcing a
strict exclude_guest.
This patch enforces exclude_guest kernel side.
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Avi Kivity <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Gleb Natapov <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Robert Richter <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: David Ahern <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions