Skip to content

Commit 5831788

Browse files
committed
Revert "printk: add kthread console printers"
This reverts commit 09c5ba0. This reverts commit b87f023. The testing of 5.19 release candidates revealed missing synchronization between early and regular console functionality. It would be possible to start the console kthreads later as a workaround. But it is clear that console lock serialized console drivers between each other. It opens a big area of possible problems that were not considered by people involved in the development and review. printk() is crucial for debugging kernel issues and console output is very important part of it. The number of consoles is huge and a proper review would take some time. As a result it need to be reverted for 5.19. Link: https://lore.kernel.org/r/YrBdjVwBOVgLfHyb@alley Signed-off-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20220623145157.21938-6-pmladek@suse.com
1 parent 2d9ef94 commit 5831788

File tree

2 files changed

+22
-309
lines changed

2 files changed

+22
-309
lines changed

include/linux/console.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,6 @@ struct console {
153153
uint ospeed;
154154
u64 seq;
155155
unsigned long dropped;
156-
struct task_struct *thread;
157-
158156
void *data;
159157
struct console *next;
160158
};

0 commit comments

Comments
 (0)