diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-08-03 10:02:28 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-08-03 10:02:28 -0700 |
commit | e087437a6fef3acc11aaa1ade84731fe1571b808 (patch) | |
tree | d6d50bcd88eba1d1200617b348feca9a5af5d677 /Documentation | |
parent | b6bb70f9ab80a11161252bf217993d2c40ea5eb2 (diff) | |
parent | 85656ec193e9ca9c11f7c75dc733c071755b189e (diff) | |
download | linux-e087437a6fef3acc11aaa1ade84731fe1571b808.tar.bz2 |
Merge tag 'xarray-6.0' of git://git.infradead.org/users/willy/xarray
Pull XArray/IDR updates from Matthew Wilcox:
- Add appropriate might_alloc() annotations to the XArray APIs
- Document that the IDR is deprecated
* tag 'xarray-6.0' of git://git.infradead.org/users/willy/xarray:
IDR: Note that the IDR API is deprecated
XArray: Add calls to might_alloc()
Diffstat (limited to 'Documentation')
-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 ========= |