]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'generic-ticket-spinlocks-v6' of git://git.kernel.org/pub/scm/linux/kernel...
authorArnd Bergmann <arnd@arndb.de>
Wed, 11 May 2022 18:52:52 +0000 (20:52 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 11 May 2022 18:52:52 +0000 (20:52 +0200)
commit46a97d74bba3391675104fe2e0c8b271f5dc3ebb
treec01a7e0a43880bd7ca5d005df06d2111611251d5
parente9b4be971614b87bfab595b9e888e6d0334e6a31
parentc9cb0f258fbae0382318393c83c961dbe0c348b0
Merge tag 'generic-ticket-spinlocks-v6' of git://git.kernel.org/pub/scm/linux/kernel/git/palmer/linux into asm-generic

asm-generic: New generic ticket-based spinlock

This contains a new ticket-based spinlock that uses only generic
atomics and doesn't require as much from the memory system as qspinlock
does in order to be fair.  It also includes a bit of documentation about
the qspinlock and qrwlock fairness requirements.

This will soon be used by a handful of architectures that don't meet the
qspinlock requirements.

* tag 'generic-ticket-spinlocks-v6' of git://git.kernel.org/pub/scm/linux/kernel/git/palmer/linux:
  csky: Move to generic ticket-spinlock
  RISC-V: Move to queued RW locks
  RISC-V: Move to generic spinlocks
  openrisc: Move to ticket-spinlock
  asm-generic: qrwlock: Document the spinlock fairness requirements
  asm-generic: qspinlock: Indicate the use of mixed-size atomics
  asm-generic: ticket-lock: New generic ticket-based spinlock