diff options
author | Andy Lutomirski <luto@kernel.org> | 2015-07-31 06:32:41 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-08-04 11:16:54 +0300 |
commit | ab513927ab449af00cc70b0269e15ee80dd537f9 (patch) | |
tree | 69d69b3fedd3d792c3d9634246f67fdeca7acc41 /fs | |
parent | e5779e8e12299f77c2421a707855d8d124171d85 (diff) | |
download | linux-ab513927ab449af00cc70b0269e15ee80dd537f9.tar.xz |
perf/x86/hw_breakpoints: Improve range breakpoint validation
Range breakpoints will do the wrong thing if the address isn't
aligned. While we're there, add comments about why it's safe for
instruction breakpoints.
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/ae25d14d61f2f43b78e0a247e469f3072df7e201.1438312874.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions