All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] xarray: fix marked iterator index after multi-index entries
@ 2026-12-03  1:25 Andrew Morton
  2026-12-03  1:26 ` [PATCH 1/3] lib/test_xarray: check marked iteration across " Andrew Morton
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andrew Morton @ 2026-12-03  1:25 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: linux-mm, Andrew Morton, Qian Xiao, stable

A marked XArray lookup can move its index backwards when the search starts
in a multi-index entry.  A later search can use an offset that no longer
agrees with the index and return an entry already passed.

Add tests for lookup, splitting, pausing and advancing across marked
multi-index entries.  Then apply Qian Xiao's iterator fix and prevent a
concurrent sibling store from sending an advancing search backwards.

Qian Xiao (2):
  lib/test_xarray: check marked iteration across multi-index entries
  xarray: fix index jumping backwards in xas_find_marked()

Andrew Morton (1):
  xarray: keep advancing after a concurrent sibling store

 include/linux/xarray.h |   3 +-
 lib/test_xarray.c      | 165 ++++++++++++++++++++++++++++++++++++++++++++
 lib/xarray.c           |  28 ++++++--
 3 files changed, 189 insertions(+), 7 deletions(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-12-03  1:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03  1:25 [PATCH 0/3] xarray: fix marked iterator index after multi-index entries Andrew Morton
2026-12-03  1:26 ` [PATCH 1/3] lib/test_xarray: check marked iteration across " Andrew Morton
2026-12-03  1:26 ` [PATCH 2/3] xarray: fix index jumping backwards in xas_find_marked() Andrew Morton
2026-12-03  1:26 ` [PATCH 3/3] xarray: keep advancing after a concurrent sibling store Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.