[GIT PULL] XArray for 4.20-rc7

From: Matthew Wilcox
Date: Thu Dec 13 2018 - 19:05:00 EST



(hope I did the git tag correctly this time)

The following changes since commit cf76c364a1e1e5224af80edf70a1e3023e1fcf8c:

Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi (2018-12-05 17:06:31 -0800)

are available in the Git repository at:

git://git.infradead.org/users/willy/linux-dax.git tags/xarray-4.20-rc7

for you to fetch changes up to 48483614de97c4f5219abeda630e62b2bebdce62:

XArray: Fix xa_alloc when id exceeds max (2018-12-13 14:07:33 -0500)

----------------------------------------------------------------
XArray updates for 4.20-rc7

Two bugfixes, each with test-suite updates, two improvements to the
test-suite without associated bugs, and one patch adding a missing API.

----------------------------------------------------------------
Matthew Wilcox (5):
radix tree: Don't return retry entries from lookup
XArray: Add xa_cmpxchg_irq and xa_cmpxchg_bh
XArray tests: Handle larger indices more elegantly
XArray tests: Check iterating over multiorder entries
XArray: Fix xa_alloc when id exceeds max

Documentation/core-api/xarray.rst | 5 +-
include/linux/xarray.h | 54 ++++++++++++
lib/radix-tree.c | 4 +-
lib/test_xarray.c | 155 ++++++++++++++++++++++++---------
lib/xarray.c | 8 +-
mm/shmem.c | 4 +-
tools/testing/radix-tree/Makefile | 1 +
tools/testing/radix-tree/main.c | 1 +
tools/testing/radix-tree/regression.h | 1 +
tools/testing/radix-tree/regression4.c | 79 +++++++++++++++++
10 files changed, 258 insertions(+), 54 deletions(-)
create mode 100644 tools/testing/radix-tree/regression4.c