docs: move locking-specific documents to locking/
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 1 May 2020 15:37:54 +0000 (17:37 +0200)
committerJonathan Corbet <corbet@lwn.net>
Fri, 15 May 2020 18:05:07 +0000 (12:05 -0600)
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>
Documentation/locking/futex-requeue-pi.rst [moved from Documentation/futex-requeue-pi.txt with 100% similarity]
Documentation/locking/hwspinlock.rst [moved from Documentation/hwspinlock.txt with 100% similarity]
Documentation/locking/index.rst
Documentation/locking/percpu-rw-semaphore.rst [moved from Documentation/percpu-rw-semaphore.txt with 100% similarity]
Documentation/locking/pi-futex.rst [moved from Documentation/pi-futex.txt with 100% similarity]
Documentation/locking/preempt-locking.rst [moved from Documentation/preempt-locking.txt with 100% similarity]
Documentation/locking/robust-futex-ABI.rst [moved from Documentation/robust-futex-ABI.txt with 100% similarity]
Documentation/locking/robust-futexes.rst [moved from Documentation/robust-futexes.txt with 100% similarity]
Documentation/locking/rt-mutex.rst
MAINTAINERS

index 5d6800a..d785878 100644 (file)
@@ -16,6 +16,13 @@ locking
     rt-mutex
     spinlocks
     ww-mutex-design
+    preempt-locking
+    pi-futex
+    futex-requeue-pi
+    hwspinlock
+    percpu-rw-semaphore
+    robust-futexes
+    robust-futex-ABI
 
 .. only::  subproject and html
 
index c365dc3..3b5097a 100644 (file)
@@ -4,7 +4,7 @@ RT-mutex subsystem with PI support
 
 RT-mutexes with priority inheritance are used to support PI-futexes,
 which enable pthread_mutex_t priority inheritance attributes
-(PTHREAD_PRIO_INHERIT). [See Documentation/pi-futex.txt for more details
+(PTHREAD_PRIO_INHERIT). [See Documentation/locking/pi-futex.rst for more details
 about PI-futexes.]
 
 This technology was developed in the -rt tree and streamlined for
index 3e4b174..70076af 100644 (file)
@@ -7023,13 +7023,13 @@ R:      Darren Hart <dvhart@infradead.org>
 L:     linux-kernel@vger.kernel.org
 S:     Maintained
 T:     git git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/core
-F:     Documentation/*futex*
+F:     Documentation/locking/*futex*
 F:     include/asm-generic/futex.h
 F:     include/linux/futex.h
 F:     include/uapi/linux/futex.h
 F:     kernel/futex.c
 F:     tools/perf/bench/futex*
-F:     tools/testing/selftests/futex/
+F:     Documentation/locking/*futex*
 
 GASKET DRIVER FRAMEWORK
 M:     Rob Springer <rspringer@google.com>
@@ -7498,7 +7498,7 @@ L:        linux-remoteproc@vger.kernel.org
 S:     Maintained
 T:     git git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git hwspinlock-next
 F:     Documentation/devicetree/bindings/hwlock/
-F:     Documentation/hwspinlock.txt
+F:     Documentation/locking/hwspinlock.rst
 F:     drivers/hwspinlock/
 F:     include/linux/hwspinlock.h