]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
radix tree test suite: Convert tag_tagged_items to XArray
authorMatthew Wilcox <willy@infradead.org>
Sat, 18 Aug 2018 11:09:22 +0000 (07:09 -0400)
committerMatthew Wilcox <willy@infradead.org>
Sun, 21 Oct 2018 14:46:45 +0000 (10:46 -0400)
commit372266ba0267803564824b1c09f1bb7f3f3fc761
treee0f2551f5b51b793afe4fe7edfcaf5da6fce974d
parentadb9d9c4ccb1ff0bf1d376e65f36aa5573c75c1a
radix tree test suite: Convert tag_tagged_items to XArray

The tag_tagged_items() function is supposed to test the page-writeback
tagging code.  Since that has been converted to the XArray, there's
not much point in testing the radix tree's tagging code.  This requires
using the pthread mutex embedded in the xarray instead of an external
lock, so remove the pthread mutexes which protect xarrays/radix trees.
Also remove radix_tree_iter_tag_set() as this was the last user.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
include/linux/radix-tree.h
lib/radix-tree.c
tools/testing/radix-tree/iteration_check.c
tools/testing/radix-tree/main.c
tools/testing/radix-tree/multiorder.c
tools/testing/radix-tree/regression1.c
tools/testing/radix-tree/regression2.c
tools/testing/radix-tree/tag_check.c
tools/testing/radix-tree/test.c
tools/testing/radix-tree/test.h