Re: [RFC PATCH v1 19/25] printk: introduce emergency messages
From: Sergey Senozhatsky
Date: Mon Mar 11 2019 - 22:58:55 EST
On (03/08/19 11:31), Petr Mladek wrote:
> Great catch!
>
> I think that it is doable to guard the list using RCU.
I think console_sem is more than just list lock.
E.g. fb_flashcursor() - console_sem protects framebuffer from concurrent
modifications. And many other examples.
I think the last time we talked about it (two+ years ago) we counted
5 or 7 (don't remember exactly) different things which console_sem
does.
-ss