]> www.infradead.org Git - linux.git/commitdiff
docs: core-api: add circular-buffers documentation
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 7 May 2018 09:35:43 +0000 (06:35 -0300)
committerJonathan Corbet <corbet@lwn.net>
Tue, 8 May 2018 16:07:06 +0000 (10:07 -0600)
The circular-buffers.txt is already in ReST format. So, move it to the
core-api guide, where it belongs.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/00-INDEX
Documentation/core-api/circular-buffers.rst [moved from Documentation/circular-buffers.txt with 100% similarity]
Documentation/core-api/index.rst
Documentation/memory-barriers.txt
Documentation/translations/ko_KR/memory-barriers.txt

index 04074059bcdc299ff8c7f9168b89d584d728a5db..6e141c05f3d2ded6eb5b7dba827a2ae3ac6fa35e 100644 (file)
@@ -82,8 +82,6 @@ cgroup-v1/
        - cgroups v1 features, including cpusets and memory controller.
 cgroup-v2.txt
        - cgroups v2 features, including cpusets and memory controller.
-circular-buffers.txt
-       - how to make use of the existing circular buffer infrastructure
 clk.txt
        - info on the common clock framework
 cma/
index d4d71ee564aef4af42454f39fe097419d51a8332..3864de589126e74e292c7f4dffbf48f3e5aa3c04 100644 (file)
@@ -26,6 +26,7 @@ Core utilities
    genalloc
    errseq
    printk-formats
+   circular-buffers
 
 Interfaces for kernel debugging
 ===============================
index 983249906fc691c2e72d4c6c2d098a3efd71dc10..33b8bc9573f8a344738b3bc18bf826901a2361f8 100644 (file)
@@ -3083,7 +3083,7 @@ CIRCULAR BUFFERS
 Memory barriers can be used to implement circular buffering without the need
 of a lock to serialise the producer with the consumer.  See:
 
-       Documentation/circular-buffers.txt
+       Documentation/core-api/circular-buffers.rst
 
 for details.
 
index 081937577c1aaacffb6ffd573cd7b92c73c78aa2..2ec5fe0c9cf4b01b9e6db49e3aa56cc10771324b 100644 (file)
@@ -3023,7 +3023,7 @@ smp_mb() 가 아니라 virt_mb() 를 사용해야 합니다.
 동기화에 락을 사용하지 않고 구현하는데에 사용될 수 있습니다.  더 자세한 내용을
 위해선 다음을 참고하세요:
 
-       Documentation/circular-buffers.txt
+       Documentation/core-api/circular-buffers.rst
 
 
 =========