diff options
author | Matthew Wilcox <[email protected]> | 2016-12-14 15:08:11 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-12-14 16:04:09 -0800 |
commit | ba20cd60c97945f0de9fe313f869b3a5855e1503 (patch) | |
tree | 35a39c27248705e7c736c9ee5bfa1d22d69a3a2e /tools/testing/radix-tree/linux/kernel.h | |
parent | 061ef3936b16edc8f779d403d569392505665ed5 (diff) |
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/[email protected]
Signed-off-by: Matthew Wilcox <[email protected]>
Tested-by: Kirill A. Shutemov <[email protected]>
Cc: Konstantin Khlebnikov <[email protected]>
Cc: Ross Zwisler <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions