Re: [PATCH] tty/vt: Add console_lock check to vt_console_print()

2022-08-30 Thread Sam Ravnborg
Hi Daniel, On Tue, Aug 30, 2022 at 04:49:45PM +0200, Daniel Vetter wrote: > I'm scratching my head why we have this printing_lock. Digging through > historical git trees shows that: > - Added in 1.1.73, and I found absolutely no reason why. > - Converted to atomic bitops in 2.1.125pre2, I guess as

[PATCH] tty/vt: Add console_lock check to vt_console_print()

2022-08-30 Thread Daniel Vetter
I'm scratching my head why we have this printing_lock. Digging through historical git trees shows that: - Added in 1.1.73, and I found absolutely no reason why. - Converted to atomic bitops in 2.1.125pre2, I guess as part of SMP enabling/bugfixes. - Converted to a proper spinlock in b0940003f25d

[PATCH] tty/vt: Add console_lock check to vt_console_print()

2022-08-30 Thread Daniel Vetter
I'm scratching my head why we have this printing_lock. Digging through historical git trees shows that: - Added in 1.1.73, and I found absolutely no reason why. - Converted to atomic bitops in 2.1.125pre2, I guess as part of SMP enabling/bugfixes. - Converted to a proper spinlock in b0940003f25d