• Linus Torvalds's avatar
    Merge tag 'locking-urgent-2020-08-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 97d052ea
    Linus Torvalds authored
    Pull locking updates from Thomas Gleixner:
     "A set of locking fixes and updates:
    
       - Untangle the header spaghetti which causes build failures in
         various situations caused by the lockdep additions to seqcount to
         validate that the write side critical sections are non-preemptible.
    
       - The seqcount associated lock debug addons which were blocked by the
         above fallout.
    
         seqcount writers contrary to seqlock writers must be externally
         serialized, which usually happens via locking - except for strict
         per CPU seqcounts. As the lock is not part of the seqcount, lockdep
         cannot validate that the lock is held.
    
         This new debug mechanism adds the concept of associated locks.
         sequence count has now lock type variants and corresponding
         initializers which take a pointer to the associated lock used for
         writer serialization. If lockdep is enabled the pointer is stored
         ...
    97d052ea
userfaultfd.c 51.7 KB