Re: [PATCH v3 4/6] printk: deprecate boot_delay in favour of printk_delay
Petr Mladek <[email protected]>
| Newsgroups | dev.linux.lists.linux-rt-devel,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Sun 2026-07-12 11:20:35, Andrew Murray wrote: > The boot_delay (BOOT_PRINTK_DELAY) kernel parameter and printk_delay sysctl > are two distinct mechanisms for providing similar functionality which add a > delay prior to each printed printk message. > > boot_delay provides a kernel parameter for delaying printk output from > kernel start through to boot (SYSTEM_RUNNING), whereas printk_delay is > configurable only via sysctl and thus is only used post boot. > > Let's deprecate the boot_delay feature in favour of printk_delay. In order > to preserve functionality, we'll also extend printk_delay such that it can > additionally configured via an early kernel parameter. > > Behavior change: > > The delay enabled by both "boot_delay" and "printk_delay" continues > working even in SYSTEM_RUNNING state. It must be explicitly stopped > by setting printk_delay=0 via sysctl. > > The delay is skipped when the message is suppressed in all system > states. It used to skipped only for the boot_delay. s/used to skipped/used to be skipped/ > Signed-off-by: Andrew Murray <[email protected]> The code changes look good to me. With the above typo fix: Reviewed-by: Petr Mladek <[email protected]> Best Regards, Petr