diff options
author | Matthew Wilcox <mawilcox@microsoft.com> | 2016-12-15 00:08:11 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-15 01:04:09 +0100 |
commit | ba20cd60c97945f0de9fe313f869b3a5855e1503 (patch) | |
tree | 35a39c27248705e7c736c9ee5bfa1d22d69a3a2e /tools/testing/radix-tree/Makefile | |
parent | radix tree test suite: make runs more reproducible (diff) | |
download | linux-ba20cd60c97945f0de9fe313f869b3a5855e1503.tar.xz linux-ba20cd60c97945f0de9fe313f869b3a5855e1503.zip |
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>
Diffstat (limited to 'tools/testing/radix-tree/Makefile')
0 files changed, 0 insertions, 0 deletions