diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-07-06 17:39:21 -0400 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-07-10 21:17:30 -0400 |
commit | 85656ec193e9ca9c11f7c75dc733c071755b189e (patch) | |
tree | 7e5309984c2e89d521ad21fce9f7c8d2f9aa3a25 /Documentation/core-api | |
parent | 1dd685c414a7b9fdb3d23aca3aedae84f0b998ae (diff) | |
download | linux-85656ec193e9ca9c11f7c75dc733c071755b189e.tar.gz linux-85656ec193e9ca9c11f7c75dc733c071755b189e.tar.bz2 linux-85656ec193e9ca9c11f7c75dc733c071755b189e.zip |
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.rst | 3 |
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 ========= |