summaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
authorDave Young2009-09-23 01:43:33 +0200
committerLinus Torvalds2009-09-23 16:39:28 +0200
commitaf91322ef3f29ae4114e736e2a72e28b4d619cf9 (patch)
treedebba08531c7dd78b90b5d8f2c03f6bf7c9e7877 /net/socket.c
parentprintk boot_delay: rename printk_delay_msec to loops_per_msec (diff)
downloadkernel-qcow2-linux-af91322ef3f29ae4114e736e2a72e28b4d619cf9.tar.gz
kernel-qcow2-linux-af91322ef3f29ae4114e736e2a72e28b4d619cf9.tar.xz
kernel-qcow2-linux-af91322ef3f29ae4114e736e2a72e28b4d619cf9.zip
printk: add printk_delay to make messages readable for some scenarios
When syslog is not possible, at the same time there's no serial/net console available, it will be hard to read the printk messages. For example oops/panic/warning messages in shutdown phase. Add a printk delay feature, we can make each printk message delay some milliseconds. Setting the delay by proc/sysctl interface: /proc/sys/kernel/printk_delay The value range from 0 - 10000, default value is 0 [akpm@linux-foundation.org: fix a few things] Signed-off-by: Dave Young <hidave.darkstar@gmail.com> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions