• Linus Torvalds's avatar
    Merge branch 'locking-rwsem-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 3469d261
    Linus Torvalds authored
    Pull support for killable rwsems from Ingo Molnar:
     "This, by Michal Hocko, implements down_write_killable().
    
      The main usecase will be to update mm_sem usage sites to use this new
      API, to allow the mm-reaper introduced in commit aac45363 ("mm,
      oom: introduce oom reaper") to tear down oom victim address spaces
      asynchronously with minimum latencies and without deadlock worries"
    
    [ The vfs will want it too as the inode lock is changed from a mutex to
      a rwsem due to the parallel lookup and readdir updates ]
    
    * 'locking-rwsem-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      locking/rwsem: Fix comment on register clobbering
      locking/rwsem: Fix down_write_killable()
      locking/rwsem, x86: Add frame annotation for call_rwsem_down_write_failed_killable()
      locking/rwsem: Provide down_write_killable()
      locking/rwsem, x86: Provide __down_write_killable()
      locking/rwsem, s390: Provide __down_write_killable()
      locking/rwsem, ia64: Provide __down_write_killable()
      locking/rwsem, alpha: Provide __down_write_killable()
      locking/rwsem: Introduce basis for down_write_killable()
      locking/rwsem, sparc: Drop superfluous arch specific implementation
      locking/rwsem, sh: Drop superfluous arch specific implementation
      locking/rwsem, xtensa: Drop superfluous arch specific implementation
      locking/rwsem: Drop explicit memory barriers
      locking/rwsem: Get rid of __down_write_nested()
    3469d261
lockdep.h 16.7 KB