diff options
author | Andy Lutomirski <[email protected]> | 2016-07-14 13:22:54 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-07-15 10:26:27 +0200 |
commit | 46aea3873401836abb7f01200e7946e7d518b359 (patch) | |
tree | 9e20fb9a4c8a3fbc0446d33bc04547f9d84edf38 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 98f30b1207932b6553ea605c99393d8afca12324 (diff) |
x86/mm/64: In vmalloc_fault(), use CR3 instead of current->active_mm
If we get a vmalloc fault while current->active_mm->pgd doesn't
match CR3, we'll crash without this change. I've seen this failure
mode on heavily instrumented kernels with virtually mapped stacks.
Signed-off-by: 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: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/4650d7674185f165ed8fdf9ac4c5c35c5c179ba8.1468527351.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