[PATCH v2 0/2] maple_tree: mas_wr_append() fix ups

From: Liam R. Howlett
Date: Fri Aug 18 2023 - 20:54:07 EST


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@xxxxxxxxxx/

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