]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit371c752dc66948714ee3b66c3306f3ff1ff71d2e
treea9707d94787474e20b4efcd9bc81d5e6e1328a66
parent3d5bd6e1a04ae779bc5e0de9ba2e92aa55c40fe8
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