diff options
author | Dave Young <hidave.darkstar@gmail.com> | 2009-09-22 19:43:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 10:39:28 -0400 |
commit | af91322ef3f29ae4114e736e2a72e28b4d619cf9 (patch) | |
tree | debba08531c7dd78b90b5d8f2c03f6bf7c9e7877 /Documentation/sysctl | |
parent | 3a3b6ed2235f2f619889dd6096e24b6d93bf3339 (diff) |
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 'Documentation/sysctl')
-rw-r--r-- | Documentation/sysctl/kernel.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt index 3e5b63ebb821..b3d8b4922740 100644 --- a/Documentation/sysctl/kernel.txt +++ b/Documentation/sysctl/kernel.txt | |||
@@ -313,6 +313,14 @@ send before ratelimiting kicks in. | |||
313 | 313 | ||
314 | ============================================================== | 314 | ============================================================== |
315 | 315 | ||
316 | printk_delay: | ||
317 | |||
318 | Delay each printk message in printk_delay milliseconds | ||
319 | |||
320 | Value from 0 - 10000 is allowed. | ||
321 | |||
322 | ============================================================== | ||
323 | |||
316 | randomize-va-space: | 324 | randomize-va-space: |
317 | 325 | ||
318 | This option can be used to select the type of process address | 326 | This option can be used to select the type of process address |