1. 10 Mar, 2018 1 commit
  2. 21 Feb, 2018 2 commits
  3. 05 Dec, 2017 1 commit
  4. 04 Dec, 2017 1 commit
  5. 24 Oct, 2017 1 commit
    • Will Deacon's avatar
      locking/barriers: Kill lockless_dereference() · 59ecbbe7
      Will Deacon authored
      lockless_dereference() is a nice idea, but it gained little traction in
      kernel code since its introduction three years ago. This is partly
      because it's a pain to type, but also because using READ_ONCE() instead
      has worked correctly on all architectures apart from Alpha, which is a
      fully supported but somewhat niche architecture these days.
      
      Now that READ_ONCE() has been upgraded to contain an implicit
      smp_read_barrier_depends() and the few callers of lockless_dereference()
      have been converted, we can remove lockless_dereference() altogether.
      Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Link: http://lkml.kernel.org/r/1508840570-22169-5-git-send-email-will.deacon@arm.comSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
      59ecbbe7
  6. 20 Oct, 2017 2 commits
  7. 09 Oct, 2017 2 commits
  8. 17 Aug, 2017 1 commit
    • Paul E. McKenney's avatar
      doc: Update memory-barriers.txt for read-to-write dependencies · 66ce3a4d
      Paul E. McKenney authored
      The memory-barriers.txt document contains an obsolete passage stating that
      smp_read_barrier_depends() is required to force ordering for read-to-write
      dependencies.  We now know that this is not required, even for DEC Alpha.
      This commit therefore updates this passage to state that read-to-write
      dependencies are respected even without smp_read_barrier_depends().
      Reported-by: default avatarLance Roy <ldr709@gmail.com>
      Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: Andrea Parri <parri.andrea@gmail.com>
      Cc: Jade Alglave <j.alglave@ucl.ac.uk>
      Cc: Luc Maranget <luc.maranget@inria.fr>
      [ paulmck: Reference control-dependencies sections and use WRITE_ONCE()
        per Will Deacon.  Correctly place split-cache paragraph while there. ]
      Acked-by: default avatarWill Deacon <will.deacon@arm.com>
      66ce3a4d
  9. 10 Aug, 2017 2 commits
    • Peter Zijlstra's avatar
      locking: Remove smp_mb__before_spinlock() · a9668cd6
      Peter Zijlstra authored
      Now that there are no users of smp_mb__before_spinlock() left, remove
      it entirely.
      Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      a9668cd6
    • Peter Zijlstra's avatar
      Documentation/locking/atomic: Add documents for new atomic_t APIs · 706eeb3e
      Peter Zijlstra authored
      Since we've vastly expanded the atomic_t interface in recent years the
      existing documentation is woefully out of date and people seem to get
      confused a bit.
      
      Start a new document to hopefully better explain the current state of
      affairs.
      
      The old atomic_ops.txt also covers bitmaps and a few more details so
      this is not a full replacement and we'll therefore keep that document
      around until such a time that we've managed to write more text to cover
      its entire.
      
      Also please, ReST people, go away.
      Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
      Cc: Boqun Feng <boqun.feng@gmail.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Paul McKenney <paulmck@linux.vnet.ibm.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Will Deacon <will.deacon@arm.com>
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      706eeb3e
  10. 12 Jul, 2017 1 commit
  11. 24 Jun, 2017 1 commit
  12. 08 Jun, 2017 1 commit
  13. 09 May, 2017 1 commit
  14. 12 Apr, 2017 1 commit
  15. 15 Jan, 2017 1 commit
  16. 12 Aug, 2016 3 commits
  17. 17 Jun, 2016 1 commit
  18. 28 Apr, 2016 3 commits
  19. 13 Apr, 2016 6 commits
  20. 14 Mar, 2016 8 commits