Messages in this thread | | | Date | Wed, 29 Jun 2022 10:29:56 +0200 | From | Petr Mladek <> | Subject | Re: [PATCH] printk/console: Enable console kthreads only when there is no boot console left |
| |
On Fri 2022-06-24 18:41:36, Steven Rostedt wrote: > On Tue, 21 Jun 2022 00:57:09 +0206 > John Ogness <john.ogness@linutronix.de> wrote: > > > Since early printing does not use the kernel driver model, I do not see > > a clear solution at this point. But since using early printing is not a > > typical use, I am OK with this patch. > > Does this patch still work if you add the "keep" flag to the > earlyprintk kernel parameter?
It works. If the boot console stays then the console kthreads will never get enabled.
Well, I hope that we will be able to add the synchronization and remove this constraint. I think that the port->lock should be usable in most cases.
Best Regards, Petr
| |