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

From: Sebastian Andrzej Siewior
Date: Fri Jun 23 2023 - 13:12:52 EST


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@xxxxxxxxxxxxx

Sebastian