Messages in this thread | | | Date | Mon, 1 Mar 2021 18:07:19 +0100 | From | Petr Mladek <> | Subject | Re: [PATCH next v3 10/15] printk: add syslog_lock |
| |
On Thu 2021-02-25 21:24:33, John Ogness wrote: > The global variables @syslog_seq, @syslog_partial, @syslog_time > and write access to @clear_seq are protected by @logbuf_lock. > Once @logbuf_lock is removed, these variables will need their > own synchronization method. Introduce @syslog_lock for this > purpose. > > @syslog_lock is a raw_spin_lock for now. This simplifies the > transition to removing @logbuf_lock. Once @logbuf_lock and the > safe buffers are removed, @syslog_lock can change to spin_lock. > > Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Best Regards, Petr
| |