Re: [PATCH next v3 10/15] printk: add syslog_lock

2021-03-01 Thread Petr Mladek
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

[PATCH next v3 10/15] printk: add syslog_lock

2021-02-25 Thread John Ogness
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.