OSDN Git Service

Documentation: sysrq: update description about sysrq crash
authorGao Xiang <hsiangkao@redhat.com>
Tue, 9 Mar 2021 19:15:50 +0000 (03:15 +0800)
committerJonathan Corbet <corbet@lwn.net>
Mon, 15 Mar 2021 20:23:21 +0000 (14:23 -0600)
After commit 8341f2f222d7 ("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: Gao 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.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/admin-guide/sysrq.rst

index 67dfa4c..60ce5f5 100644 (file)
@@ -90,8 +90,8 @@ Command           Function
 ``b``      Will immediately reboot the system without syncing or unmounting
             your disks.
 
-``c``      Will perform a system crash by a NULL pointer dereference.
-            A crashdump will be taken if configured.
+``c``      Will perform a system crash and a crashdump will be taken
+            if configured.
 
 ``d``      Shows all locks that are held.