]> git.baikalelectronics.ru Git - 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)
commit350600dc65100ed5c7dee0943e4dd201ccf7d56d
treee0f2551f5b51b793afe4fe7edfcaf5da6fce974d
parent0c8bef1a6b531df4bae90b93403267b5c7f30099
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