lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241216190113.1226145-1-Liam.Howlett@oracle.com>
Date: Mon, 16 Dec 2024 14:01:11 -0500
From: "Liam R. Howlett" <Liam.Howlett@...cle.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: maple-tree@...ts.infradead.org, linux-mm@...ck.org,
        linux-kernel@...r.kernel.org, Yang Erkun <yangerkun@...weicloud.com>,
        chuck.lever@...cle.com, brauner@...nel.org,
        "Liam R. Howlett" <Liam.Howlett@...cle.com>
Subject: [PATCH 0/2] Fix mas_alloc_cyclic retry

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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ