Commit a8f2a68e authored by Gao Xiang's avatar Gao Xiang Committed by Jonathan Corbet

Documentation: sysrq: update description about sysrq crash

After commit 8341f2f2 ("sysrq: Use panic() to force a crash"),
a crash was not generated by dereferencing a NULL pointer anymore.

Let's update documentation as well to make it less misleading.
Signed-off-by: default avatarGao Xiang <hsiangkao@redhat.com>
Cc: Matthias Kaehlcke <mka@chromium.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Zefan Li <lizefan.x@bytedance.com>
Link: https://lore.kernel.org/r/20210309191550.3955601-1-hsiangkao@redhat.comSigned-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 3eca1cfb
...@@ -90,8 +90,8 @@ Command Function ...@@ -90,8 +90,8 @@ Command Function
``b`` Will immediately reboot the system without syncing or unmounting ``b`` Will immediately reboot the system without syncing or unmounting
your disks. your disks.
``c`` Will perform a system crash by a NULL pointer dereference. ``c`` Will perform a system crash and a crashdump will be taken
A crashdump will be taken if configured. if configured.
``d`` Shows all locks that are held. ``d`` Shows all locks that are held.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment