summaryrefslogtreecommitdiff
path: root/tools/testing/radix-tree/linux/kmemleak.h
diff options
context:
space:
mode:
authorMatthew Wilcox <mawilcox@microsoft.com>2016-12-15 02:08:11 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-15 03:04:09 +0300
commitba20cd60c97945f0de9fe313f869b3a5855e1503 (patch)
tree35a39c27248705e7c736c9ee5bfa1d22d69a3a2e /tools/testing/radix-tree/linux/kmemleak.h
parent061ef3936b16edc8f779d403d569392505665ed5 (diff)
downloadlinux-ba20cd60c97945f0de9fe313f869b3a5855e1503.tar.xz
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/linux/kmemleak.h')
0 files changed, 0 insertions, 0 deletions