diff options
author | Andy Lutomirski <[email protected]> | 2016-03-09 19:00:29 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-03-10 09:48:13 +0100 |
commit | 8bb5643686d2898bec181c407651cf84e77d413f (patch) | |
tree | fffaba109deef6957634a64d7830c2214b9d652d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 81edd9f69a6fd214fdbe66b43de6aa1610c84c63 (diff) |
x86/entry/traps: Clear DR6 early in do_debug() and improve the comment
Leaving any bits set in DR6 on return from a debug exception is
asking for trouble. Prevent it by writing zero right away and
clarify the comment.
Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Andrew Cooper <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/3857676e1be8fb27db4b89bbb1e2052b7f435ff4.1457578375.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions