John Ogness 7d7a23a91c printk: use seqcount_latch for clear_seq
kmsg_dump_rewind_nolock() locklessly reads @clear_seq. However,
this is not done atomically. Since @clear_seq is 64-bit, this
cannot be an atomic operation for all platforms. Therefore, use
a seqcount_latch to allow readers to always read a consistent
value.

Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20210303101528.29901-9-john.ogness@linutronix.de
2021-03-08 11:43:15 +01:00
..
2020-11-24 16:47:49 +01:00
2021-02-21 13:18:26 -08:00
2021-02-21 11:53:06 -08:00
2021-02-21 13:31:43 -08:00
2021-02-21 12:35:04 -08:00
2021-02-21 13:31:43 -08:00
2021-02-21 11:02:48 -08:00
2021-01-06 16:24:59 -08:00
2020-12-15 22:46:19 -08:00
2020-12-17 13:01:31 -08:00
2020-12-14 16:40:27 -08:00
2020-11-14 11:26:04 -08:00
2020-12-17 13:01:31 -08:00
2020-12-14 16:40:27 -08:00
2020-07-27 14:31:12 -04:00
2020-12-01 10:30:28 +00:00
2021-01-24 09:35:28 -08:00
2021-01-22 15:09:42 +01:00
2020-12-27 09:06:10 -08:00
2020-12-19 11:18:38 -08:00
2021-01-29 10:06:46 +05:30
2020-12-14 16:40:27 -08:00
2020-08-19 14:14:12 +02:00
2020-07-07 11:58:59 -05:00
2020-08-19 14:13:20 +02:00