Skip to contentSkip to conversation

XArray for 5.5

GIT PULL Merged Matthew Wilcox 3 participants 3 messages Jan 23, 2020

lore
Share & tools
lore
#0 lore raw

I had an oops live on stage at linux.conf.au this year, and it turned out to be a bug in xas_find() which I can't prove isn't triggerable in the current codebase. Then in looking for the bug, I spotted two more bugs. The bots have had a few days to chew on this with no problems reported, and it passes the test-suite (which now has more tests to make sure these problems don't come back).

So I feel pretty comfortable asking you to pull this, even though it's so late in the development cycle.

The following changes since commit 0058b0a506e40d9a2c62015fe92eb64a44d78cd9:

Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (2019-11-08 18:21:05 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 00ed452c210a0bc1ff3ee79e1ce6b199f00a0638:

XArray: Add xa_for_each_range (2020-01-17 22:33:37 -0500)

----------------------------------------------------------------
XArray updates for 5.5

Primarily bugfixes, mostly around handling index wrap-around correctly. A couple of doc fixes and adding missing APIs.

----------------------------------------------------------------
Matthew Wilcox (Oracle) (7):
XArray: Fix xas_pause at ULONG_MAX
XArray: Improve documentation of search marks
XArray: Add wrappers for nested spinlocks
XArray: Fix infinite loop with entry at ULONG_MAX
XArray: Fix xa_find_after with multi-index entries
XArray: Fix xas_find returning too many entries
XArray: Add xa_for_each_range

 Documentation/core-api/xarray.rst | 70 +++++++++++++++++++++--------------
 include/linux/xarray.h            | 45 +++++++++++++++++++---
 lib/test_xarray.c                 | 78 ++++++++++++++++++++++++++++++++-------
 lib/xarray.c                      | 41 ++++++++++++++------
 4 files changed, 175 insertions(+), 59 deletions(-)
#1 lore raw
Quoted 3 lines · Matthew Wilcox

So I feel pretty comfortable asking you to pull this, even though it's so late in the development cycle.

Augh. I hate the timing, but looking through the changes I don't see anything that makes me too worried apart from just how core and subtle this is.

So pulled. This may be part of "we'll do an rc8 after all", but I'll see. I was hoping to avoid that just because I have travel coming up, and travel during the first week of the merge window is suboptimal for me.

Oh well. These things happen,

Linus

merge bot Merged
#2 lore raw
In reply to Matthew Wilcox
The pull request you sent on Wed, 22 Jan 2020 22:41:40 -0800:

The pull request you sent on Wed, 22 Jan 2020 22:41:40 -0800:

Quoted 1 line

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/4703d9119972bf586d2cca76ec6438f819ffa30e

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker