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-Tag: v6.1-rc5~746^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=85656ec193e9ca9c11f7c75dc733c071755b189e;p=platform%2Fkernel%2Flinux-starfive.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 2eb5afd..18d7248 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 =========