Files
erofs-linux/init
Randy Dunlap bfe8df3d31 slow down printk during boot
Optionally add a boot delay after each kernel printk() call, crudely
measured in milliseconds, with a maximum delay of 10 seconds per printk.

Enable CONFIG_BOOT_PRINTK_DELAY=y and then add (e.g.):
"lpj=loops_per_jiffy boot_delay=100"
to the kernel command line.

It has been useful in cases like "during boot, my machine just reboots or the
screen goes black" by slowing down printk, (and adding initcall_debug), we can
usually see the last thing that happened before the lights went out which is
usually a valuable clue.

[[email protected]: not all architectures implement CONFIG_HZ]
[[email protected]: fix lots of stuff]
[[email protected]: kernel/printk.c: make 2 variables static]
[[email protected]: fix slow down printk on boot compile error]
Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Dave Jones <[email protected]>
Signed-off-by: Adrian Bunk <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2007-10-16 09:42:49 -07:00
..
2007-10-16 09:42:49 -07:00
2007-07-26 11:11:56 -07:00
2007-08-30 21:54:31 -07:00
…
…