Skip to content

Commit 95ca6d7

Browse files
mchehabJonathan Corbet
authored andcommitted
docs: move locking-specific documents to locking/
Several files under Documentation/*.txt describe some type of locking API. Move them to locking/ subdir and add to the locking/index.rst index file. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/dd833a10bbd0b2c1461d78913f5ec28a7e27f00b.1588345503.git.mchehab+huawei@kernel.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent 9184027 commit 95ca6d7

10 files changed

Lines changed: 11 additions & 4 deletions
File renamed without changes.
File renamed without changes.

‎Documentation/locking/index.rst‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ locking
1616
rt-mutex
1717
spinlocks
1818
ww-mutex-design
19+
preempt-locking
20+
pi-futex
21+
futex-requeue-pi
22+
hwspinlock
23+
percpu-rw-semaphore
24+
robust-futexes
25+
robust-futex-ABI
1926

2027
.. only:: subproject and html
2128

File renamed without changes.
File renamed without changes.
File renamed without changes.

‎Documentation/locking/rt-mutex.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ RT-mutex subsystem with PI support
44

55
RT-mutexes with priority inheritance are used to support PI-futexes,
66
which enable pthread_mutex_t priority inheritance attributes
7-
(PTHREAD_PRIO_INHERIT). [See Documentation/pi-futex.txt for more details
7+
(PTHREAD_PRIO_INHERIT). [See Documentation/locking/pi-futex.rst for more details
88
about PI-futexes.]
99

1010
This technology was developed in the -rt tree and streamlined for

‎MAINTAINERS‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7023,13 +7023,13 @@ R: Darren Hart <dvhart@infradead.org>
70237023
L: linux-kernel@vger.kernel.org
70247024
S: Maintained
70257025
T: git git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/core
7026-
F: Documentation/*futex*
7026+
F: Documentation/locking/*futex*
70277027
F: include/asm-generic/futex.h
70287028
F: include/linux/futex.h
70297029
F: include/uapi/linux/futex.h
70307030
F: kernel/futex.c
70317031
F: tools/perf/bench/futex*
7032-
F: tools/testing/selftests/futex/
7032+
F: Documentation/locking/*futex*
70337033

70347034
GASKET DRIVER FRAMEWORK
70357035
M: Rob Springer <rspringer@google.com>
@@ -7498,7 +7498,7 @@ L: linux-remoteproc@vger.kernel.org
74987498
S: Maintained
74997499
T: git git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git hwspinlock-next
75007500
F: Documentation/devicetree/bindings/hwlock/
7501-
F: Documentation/hwspinlock.txt
7501+
F: Documentation/locking/hwspinlock.rst
75027502
F: drivers/hwspinlock/
75037503
F: include/linux/hwspinlock.h
75047504

0 commit comments

Comments
 (0)