linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Liam Howlett <liam.howlett@oracle.com>
To: "linux-mm@kvack.org" <linux-mm@kvack.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	"maple-tree@lists.infradead.org" <maple-tree@lists.infradead.org>
Cc: "stable@vger.kernel.org" <stable@vger.kernel.org>,
	Liam Howlett <liam.howlett@oracle.com>
Subject: [PATCH v2 0/2] maple_tree: Fix mas_spanning_rebalance() on
Date: Mon, 19 Dec 2022 16:20:08 +0000	[thread overview]
Message-ID: <20221219161922.2708732-1-Liam.Howlett@oracle.com> (raw)

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@oracle.com/

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


             reply	other threads:[~2022-12-19 16:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-19 16:20 Liam Howlett [this message]
2022-12-19 16:20 ` [PATCH v2 1/2] maple_tree: Fix mas_spanning_rebalance() on insufficient data Liam Howlett
2022-12-19 16:20 ` [PATCH v2 2/2] test_maple_tree: Add test for " Liam Howlett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221219161922.2708732-1-Liam.Howlett@oracle.com \
    --to=liam.howlett@oracle.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=maple-tree@lists.infradead.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox