]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
docs: Add rbtree documentation to the core-api
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 1 Apr 2020 17:33:43 +0000 (10:33 -0700)
committerJonathan Corbet <corbet@lwn.net>
Tue, 21 Apr 2020 16:29:19 +0000 (10:29 -0600)
This file is close enough to being in rst format that I didn't feel
the need to alter it in any way.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Michel Lespinasse <walken@google.com>
Link: https://lore.kernel.org/r/20200401173343.17472-1-willy@infradead.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/core-api/index.rst
Documentation/core-api/rbtree.rst [moved from Documentation/rbtree.txt with 100% similarity]
include/linux/rbtree.h
include/linux/rbtree_augmented.h
lib/Kconfig
tools/include/linux/rbtree.h
tools/include/linux/rbtree_augmented.h

index 49e3da910d9eefd84daf262f107389e524fb5cb6..b29c4a07beda814dce011d10b21adb9fbc675b6c 100644 (file)
@@ -35,6 +35,7 @@ Library functionality that is used throughout the kernel.
    xarray
    idr
    circular-buffers
+   rbtree
    generic-radix-tree
    packing
    timekeeping
index 1fd61a9af45cd6f8b4578c20eaf2e27bc6b8ba47..d7db179963221efc9c64ada85adf2de56128115e 100644 (file)
@@ -11,7 +11,7 @@
   I know it's not the cleaner way,  but in C (not in C++) to get
   performances and genericity...
 
-  See Documentation/rbtree.txt for documentation and samples.
+  See Documentation/core-api/rbtree.rst for documentation and samples.
 */
 
 #ifndef        _LINUX_RBTREE_H
index 724b0d036b5791afd2eb550a5cdb4c55b8c55a78..d1c53e9d8c7532173f5aa24725f553561f805b6d 100644 (file)
@@ -21,7 +21,7 @@
  * rb_insert_augmented() and rb_erase_augmented() are intended to be public.
  * The rest are implementation details you are not expected to depend on.
  *
- * See Documentation/rbtree.txt for documentation and samples.
+ * See Documentation/core-api/rbtree.rst for documentation and samples.
  */
 
 struct rb_augment_callbacks {
index 5d53f9609c252c1eccaad0e34378794efe0f1998..8005e36c345906c1697bb1af1ef3a3fd4c5919dd 100644 (file)
@@ -427,7 +427,7 @@ config INTERVAL_TREE
 
          See:
 
-               Documentation/rbtree.txt
+               Documentation/core-api/rbtree.rst
 
          for more information.
 
index e03b1ea23e0e3ee882cc416e17b4f2afcbdf8b89..30dd21f976c30c7c071dbede368392c83526645d 100644 (file)
@@ -11,7 +11,7 @@
   I know it's not the cleaner way,  but in C (not in C++) to get
   performances and genericity...
 
-  See Documentation/rbtree.txt for documentation and samples.
+  See Documentation/core-api/rbtree.rst for documentation and samples.
 */
 
 #ifndef __TOOLS_LINUX_PERF_RBTREE_H
index 381aa948610da5352cf7c164f5948b1d3e4bc9a0..570bb9794421b975c8d2ae4ba469177d31d86695 100644 (file)
@@ -23,7 +23,7 @@
  * rb_insert_augmented() and rb_erase_augmented() are intended to be public.
  * The rest are implementation details you are not expected to depend on.
  *
- * See Documentation/rbtree.txt for documentation and samples.
+ * See Documentation/core-api/rbtree.rst for documentation and samples.
  */
 
 struct rb_augment_callbacks {