linux/tools/testing/radix-tree
Matthew Wilcox ba20cd60c9 radix tree test suite: iteration test misuses RCU
Each thread needs to register itself with RCU, otherwise the reading
thread's read lock has no effect and the freeing thread will free the
memory in the tree without waiting for the read lock to be dropped.

Link: http://lkml.kernel.org/r/1480369871-5271-42-git-send-email-mawilcox@linuxonhyperv.com
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Tested-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Konstantin Khlebnikov <koct9i@gmail.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-12-14 16:04:09 -08:00
..
generated
linux radix tree test suite: track preempt_count 2016-12-14 16:04:09 -08:00
.gitignore
find_next_bit.c
iteration_check.c radix tree test suite: iteration test misuses RCU 2016-12-14 16:04:09 -08:00
linux.c radix tree test suite: track preempt_count 2016-12-14 16:04:09 -08:00
main.c radix tree test suite: make runs more reproducible 2016-12-14 16:04:09 -08:00
Makefile tools: add WARN_ON_ONCE 2016-12-14 16:04:09 -08:00
multiorder.c lib: radix-tree: check accounting of existing slot replacement users 2016-12-12 18:55:08 -08:00
rcupdate.c
regression1.c radix-tree tests: properly initialize mutex 2016-10-11 15:06:30 -07:00
regression2.c
regression3.c
regression.h
tag_check.c
test.c
test.h radix tree test suite: free preallocated nodes 2016-12-14 16:04:09 -08:00