]> git.baikalelectronics.ru Git - kernel.git/commit
doc:lock: remove reference to clever use of read-write lock
authorFederico Vaga <federico.vaga@vaga.pv.it>
Sun, 8 Sep 2019 06:29:01 +0000 (08:29 +0200)
committerJonathan Corbet <corbet@lwn.net>
Sat, 14 Sep 2019 07:53:27 +0000 (01:53 -0600)
commitc4f11a900a8d6bd7de897886d8d7e5c4f8beab68
tree7cd775f26ab313821e461031a1b8c13e4fe3077f
parentea23b7010129efe379ff781712262a7e9944cc8d
doc:lock: remove reference to clever use of read-write lock

Remove the clever example about read-write lock because this type of
lock is not recommended anymore (according to the very same document).
So there is no reason to teach clever things that people should not do.

Signed-off-by: Federico Vaga <federico.vaga@vaga.pv.it>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/locking/spinlocks.rst