[PATCH v2 0/2] maple_tree: Fix mas_spanning_rebalance() on

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike Rapoport contacted me off-list with a regression in running criu.
Periodic tests fail with an RCU stall during execution.  Although rare,
it is possible to hit this with other uses so this patch should be
backported to fix the regression.

This patch set adds the fix and a test case to the maple tree test
suite.

Link: https://lore.kernel.org/linux-mm/20221216185233.2036415-1-Liam.Howlett@xxxxxxxxxx/

V1 changes:
- Add stable to CC list
- Add tested-by to Mike's Reported-by.
- Moved test case to its own commit since the test code was added after
  the fixed-by commit and isn't part of the fix.

Liam R. Howlett (2):
  maple_tree: Fix mas_spanning_rebalance() on insufficient data
  test_maple_tree: Add test for mas_spanning_rebalance() on insufficient
    data

 lib/maple_tree.c      |  4 +++-
 lib/test_maple_tree.c | 23 +++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletion(-)

-- 
2.35.1





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux