From: Matthew Wilcox (Oracle) Date: Wed, 6 Jul 2022 21:39:21 +0000 (-0400) Subject: IDR: Note that the IDR API is deprecated X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=85656ec193e9ca9c11f7c75dc733c071755b189e;p=linux.git IDR: Note that the IDR API is deprecated Some people read the documentation, perhaps. Signed-off-by: Matthew Wilcox (Oracle) --- diff --git a/Documentation/core-api/idr.rst b/Documentation/core-api/idr.rst index 2eb5afdb99314..18d724867064b 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 ` +instead. + IDR usage =========