IDR: Note that the IDR API is deprecated
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 6 Jul 2022 21:39:21 +0000 (17:39 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 11 Jul 2022 01:17:30 +0000 (21:17 -0400)
Some people read the documentation, perhaps.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Documentation/core-api/idr.rst

index 2eb5afd..18d7248 100644 (file)
@@ -17,6 +17,9 @@ solution to the problem to avoid everybody inventing their own.  The IDR
 provides the ability to map an ID to a pointer, while the IDA provides
 only ID allocation, and as a result is much more memory-efficient.
 
+The IDR interface is deprecated; please use the :doc:`XArray <xarray>`
+instead.
+
 IDR usage
 =========