lkml.org 
[lkml]   [2023]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] maple_tree: mas_wr_append() fix ups
Date
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

\
 
 \ /
  Last update: 2023-08-19 02:55    [W:0.864 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site