]> git.baikalelectronics.ru Git - kernel.git/commit
Documentation/locking/locktypes: Further clarifications and wordsmithing
authorThomas Gleixner <tglx@linutronix.de>
Wed, 25 Mar 2020 12:27:49 +0000 (13:27 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 28 Mar 2020 11:47:34 +0000 (12:47 +0100)
commit94f04cee540459aa598f94d5045f7213cf7c8131
tree4d37e63cbdb5800852e7adcea8305ff0ec3fd6ef
parent6c73052fed436442ccd2f82caaec272b7248a920
Documentation/locking/locktypes: Further clarifications and wordsmithing

The documentation of rw_semaphores is wrong as it claims that the non-owner
reader release is not supported by RT. That's just history biased memory
distortion.

Split the 'Owner semantics' section up and add separate sections for
semaphore and rw_semaphore to reflect reality.

Aside of that the following updates are done:

 - Add pseudo code to document the spinlock state preserving mechanism on
   PREEMPT_RT

 - Wordsmith the bitspinlock and lock nesting sections

Co-developed-by: Paul McKenney <paulmck@kernel.org>
Signed-off-by: Paul McKenney <paulmck@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lkml.kernel.org/r/87wo78y5yy.fsf@nanos.tec.linutronix.de
Documentation/locking/locktypes.rst