diff options
| author | 2019-11-20 23:06:41 -0800 | |
|---|---|---|
| committer | 2019-11-26 22:00:04 +0100 | |
| commit | 7d8d8cfdee9a7bd6f9682f253fa98efdd8048a9e (patch) | |
| tree | e84496231e428d837eba299a378e5dafa31e1849 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | x86/doublefault/32: Move #DF stack and TSS to cpu_entry_area (diff) | |
| download | linux-rng-7d8d8cfdee9a7bd6f9682f253fa98efdd8048a9e.tar.xz linux-rng-7d8d8cfdee9a7bd6f9682f253fa98efdd8048a9e.zip | |
x86/doublefault/32: Rewrite the x86_32 #DF handler and unify with 64-bit
The old x86_32 doublefault_fn() was old and crufty, and it did not
even try to recover. do_double_fault() is much nicer. Rewrite the
32-bit double fault code to sanitize CPU state and call
do_double_fault(). This is mostly an exercise i386 archaeology.
With this patch applied, 32-bit double faults get a real stack trace,
just like 64-bit double faults.
[ mingo: merged the patch to a later kernel base. ]
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
