https://github.com/torvalds/linux
Revision 1904be1b6bb92058c8e00063dd59df2df294e258 authored by Steven Rostedt (Red Hat) on 21 October 2015, 01:48:02 UTC, committed by Steven Rostedt on 21 October 2015, 01:52:23 UTC
The code in stack tracer should not be executed within an NMI as it grabs
spinlocks and stack tracing an NMI gives the possibility of causing a
deadlock. Although this is safe on x86_64, because it does not perform stack
traces when the task struct stack is not in use (interrupts and NMIs), it
may be an issue for NMIs on i386 and other archs that use the same stack as
the NMI.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
1 parent a2d7629
History
Tip revision: 1904be1b6bb92058c8e00063dd59df2df294e258 authored by Steven Rostedt (Red Hat) on 21 October 2015, 01:48:02 UTC
tracing: Do not allow stack_tracer to record stack in NMI
Tip revision: 1904be1
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 5.3 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.9 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 320.4 KB
Makefile -rw-r--r-- 53.2 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top