Re: [GIT PULL] printk for 5.20

From: Petr Mladek
Date: Tue Aug 02 2022 - 03:37:44 EST


On Mon 2022-08-01 15:45:13, David Laight wrote:
> > - Completely disable printing on consoles with CONFIG_RT. They break
> > RT guarantees. They are too slow to be called with raw spinlocks.
> > They can't be called with normal spinlocks in an atomic context because
> > RT spinlocks might sleep. It is going to get fixed by the kthreads and
> > atomic consoles. In the meantime, the debugging of CONFIG_RT kernel
> > will be possible only by the user space kernel log readers.
>
> SYSV used to be like that if you were running syslogd.
> Used to make debugging some issues completely impossible.

Sure. My understanding is that this is how RT guys want it in
4.19. There is no quick magic solution. Either printk() would break
RT guarantees or messages will not be seen on consoles. The blank
consoles were chosen as the least bad solution. Of course, we
are still working on the printk kthreads and atomic consoles
that would allow debugging using consoles on RT again.

Best Regards,
Petr