aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/dmesg.py
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@bell.net>2022-01-04 21:34:26 +0000
committerHelge Deller <deller@gmx.de>2022-01-07 01:29:21 +0100
commit9d90a90855ceb9ce0fb9b46b0591ac211e4b4612 (patch)
tree23d97fd86a48f1c7d7e0fc5290177c27ecaad603 /scripts/gdb/linux/dmesg.py
parent4b9d2a731c3d22a05c1bccdb11b6e00054ff5fda (diff)
downloadlinux-9d90a90855ceb9ce0fb9b46b0591ac211e4b4612.tar.gz
linux-9d90a90855ceb9ce0fb9b46b0591ac211e4b4612.tar.bz2
linux-9d90a90855ceb9ce0fb9b46b0591ac211e4b4612.zip
parisc: Don't call faulthandler_disabled() in do_page_fault()
It is dangerous to call faulthandler_disabled() when user_mode(regs) is true. The task pagefault_disabled counter is racy and it is not updated atomically on parisc. As a result, calling faulthandler_disabled() may cause erroneous termination. We now handle execption fixups and termination when user_mode(regs) is false in handle_interruption(). Thus, we can just remove the faulthandler_disabled() check from do_page_fault(). Signed-off-by: John David Anglin <dave.anglin@bell.net> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions