| Date | Wed, 23 Feb 2022 13:17:19 +0100 | From | Petr Mladek <> | Subject | Re: [PATCH printk v1 12/13] printk: remove @console_locked |
| |
On Mon 2022-02-07 20:49:22, John Ogness wrote: > The static global variable @console_locked is used to help debug VT > code to make sure that certain code paths are running with the > console_lock held. However, this information is also available with > the static global variable @consoles_paused (for locking via > console_lock()), and the static global variable @console_lock_count > (for locking via console_trylock()). > > Remove @console_locked and update is_console_locked() to use the > alternative variables.
It is great that we are also removing something ;-)
Reviewed-by: Petr Mladek <pmladek@suse.com>
Best Regards, Petr
|