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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 18 Aug 2023 20:43:54 -0400
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,
        "Liam R. Howlett" <Liam.Howlett@...cle.com>
Subject: [PATCH v2 0/2] maple_tree: mas_wr_append() fix ups

There is a potential of an update causing issue with a reader when
appending, so disable the append operation when readers a present.

The code was also missing some documentation, tracing, and some cleanup
was possible.  These changes are in the second patch as there's no
compelling reason to require a difficult backport.

Changes since v1:
 - Added fixes tag to the first patch

v1: https://lore.kernel.org/linux-mm/20230817191505.1170876-1-Liam.Howlett@oracle.com/

Liam R. Howlett (2):
  maple_tree: Disable mas_wr_append() when other readers are possible
  maple_tree: Clean up mas_wr_append()

 lib/maple_tree.c | 41 +++++++++++++++++++++++++++--------------
 1 file changed, 27 insertions(+), 14 deletions(-)

-- 
2.39.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ