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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux