[PATCH v2 0/2] seqlock,mm: lockdep annotation + write_seqlock_irqsave()

Sebastian Andrzej Siewior
2023-06-23T17:12:49Z

Hi,

this has been a single patch (2/2) but then it was pointed out that the
lockdep annotation in seqlock needs to be adjusted to fully close the
printk window so that there is no printing after the seq-lock has been
acquired and before printk_deferred_enter() takes effect.

I'm sending both patches in this series so both sides (locking and mm)
are aware of the situation.
I hope that both patches can be applied independently via their subsystem
tree (the lockdep splat + deadlock is low risk).

The original thread starts at
https://lore.kernel.org/20230621104034.HT6QnNkQ@linutronix.de

Sebastian