summaryrefslogtreecommitdiffstats
path: root/Documentation/core-api
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-07-06 17:39:21 -0400
committerMatthew Wilcox (Oracle) <willy@infradead.org>2022-07-10 21:17:30 -0400
commit85656ec193e9ca9c11f7c75dc733c071755b189e (patch)
tree7e5309984c2e89d521ad21fce9f7c8d2f9aa3a25 /Documentation/core-api
parent1dd685c414a7b9fdb3d23aca3aedae84f0b998ae (diff)
downloadlinux-85656ec193e9ca9c11f7c75dc733c071755b189e.tar.bz2
IDR: Note that the IDR API is deprecated
Some people read the documentation, perhaps. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Diffstat (limited to 'Documentation/core-api')
-rw-r--r--Documentation/core-api/idr.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/core-api/idr.rst b/Documentation/core-api/idr.rst
index 2eb5afdb9931..18d724867064 100644
--- a/Documentation/core-api/idr.rst
+++ b/Documentation/core-api/idr.rst
@@ -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
=========