Skip to content

Misc XArray, IDR & Radix Tree patches

Matthew Wilcox lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5XArray: Fix xas_next() with a single entry at 0lib/test_xarray.c lib/xarray.c+28 -00 replies
2/5idr: Fix idr_get_next_ul race with idr_removelib/idr.c+11 -200 replies
3/5radix tree: Remove radix_tree_iter_findinclude/linux/radix-tree.h+0 -180 replies
4/5idr: Fix integer overflow in idr_for_each_entryinclude/linux/idr.h+1 -10 replies
4/5idr: Handle integer overflow correctlyinclude/linux/idr.h+1 -11 reply
5/5idr: Fix idr_alloc_u32 on 32-bit systemslib/radix-tree.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Misc XArray, IDR & Radix Tree patches

From: "Matthew Wilcox (Oracle)" <[email protected]>

These patches all fix various bugs, some of which people have tripped over and some of which have been caught by automatic tools. Find them in this git tree:

http://git.infradead.org/users/willy/linux-dax.git/shortlog/refs/heads/xarray

Matthew Wilcox (Oracle) (5):
XArray: Fix xas_next() with a single entry at 0
idr: Fix idr_get_next_ul race with idr_remove
radix tree: Remove radix_tree_iter_find
idr: Fix integer overflow in idr_for_each_entry
idr: Fix idr_alloc_u32 on 32-bit systems

 include/linux/idr.h        |  2 +-
 include/linux/radix-tree.h | 18 ------------------
 lib/idr.c                  | 31 +++++++++++--------------------
 lib/radix-tree.c           |  2 +-
 lib/test_xarray.c          | 24 ++++++++++++++++++++++++
 lib/xarray.c               |  4 ++++
 6 files changed, 41 insertions(+), 40 deletions(-)
Signature · 1 line
2.24.0.rc1