]> git.baikalelectronics.ru Git - kernel.git/commit
xarray: Track free entries in an XArray
authorMatthew Wilcox <willy@infradead.org>
Wed, 4 Jul 2018 14:50:12 +0000 (10:50 -0400)
committerMatthew Wilcox <willy@infradead.org>
Sun, 21 Oct 2018 14:46:32 +0000 (10:46 -0400)
commitd91dad46ef01aa9e291aa96b37c0b89ec1987252
treea9707d94787474e20b4efcd9bc81d5e6e1328a66
parent6186c0e5088a6cd410e8f16e44adb60bcacfee89
xarray: Track free entries in an XArray

Add the optional ability to track which entries in an XArray are free
and provide xa_alloc() to replace most of the functionality of the IDR.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
Documentation/core-api/xarray.rst
include/linux/xarray.h
lib/test_xarray.c
lib/xarray.c