linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Liam R. Howlett" <Liam.Howlett@oracle.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: maple-tree@lists.infradead.org, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org,
	Yang Erkun <yangerkun@huaweicloud.com>,
	chuck.lever@oracle.com, brauner@kernel.org,
	"Liam R. Howlett" <Liam.Howlett@oracle.com>
Subject: [PATCH 0/2] Fix mas_alloc_cyclic retry
Date: Mon, 16 Dec 2024 14:01:11 -0500	[thread overview]
Message-ID: <20241216190113.1226145-1-Liam.Howlett@oracle.com> (raw)

This is a follow-up patch and test for Yang Erkun.  lore seems to have
eaten the original email [1], so I'll add akpm's link as well [2].

Patch 1 applies on top of Yang Erkun's fix, so feel free to squash it
in.

Patch 2 adds a test to the maple tree infrastructure that will catch the
issue if it comes back.

[1] https://lore.kernel.org/all/20241214093005.72284-1-yangerkun@huaweicloud.com/T/#u
[2] https://lore.kernel.org/all/20241216060600.287B4C4CED0@smtp.kernel.org/

Liam R. Howlett (2):
  maple_tree: Fix mas_alloc_cyclic() second search
  test_maple_tree: Test exhausted upper limit of mtree_alloc_cyclic()

 lib/maple_tree.c      |  3 +--
 lib/test_maple_tree.c | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+), 2 deletions(-)

-- 
2.43.0



             reply	other threads:[~2024-12-16 19:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-16 19:01 Liam R. Howlett [this message]
2024-12-16 19:01 ` [PATCH 1/2] maple_tree: Fix mas_alloc_cyclic() second search Liam R. Howlett
2024-12-17 11:27   ` yangerkun
2024-12-16 19:01 ` [PATCH 2/2] test_maple_tree: Test exhausted upper limit of mtree_alloc_cyclic() Liam R. Howlett
2024-12-17 11:41   ` yangerkun

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=20241216190113.1226145-1-Liam.Howlett@oracle.com \
    --to=liam.howlett@oracle.com \
    --cc=akpm@linux-foundation.org \
    --cc=brauner@kernel.org \
    --cc=chuck.lever@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=maple-tree@lists.infradead.org \
    --cc=yangerkun@huaweicloud.com \
    /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