diff options
| author | Matthew Wilcox <[email protected]> | 2016-12-14 23:08:20 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-12-15 00:04:10 +0000 |
| commit | 3ad75f8a1d9b047989059c67afc38d57161270e9 (patch) | |
| tree | adda66e66125add4e1145f76697f1ec8c0190255 /tools/testing/radix-tree/multiorder.c | |
| parent | radix tree test suite: use rcu_barrier (diff) | |
| download | kernel-3ad75f8a1d9b047989059c67afc38d57161270e9.tar.gz kernel-3ad75f8a1d9b047989059c67afc38d57161270e9.zip | |
radix tree test suite: handle exceptional entries
item_kill_tree() assumes that everything in the tree is a pointer to a
struct item, which is annoying when testing the behaviour of exceptional
entries. Fix it to delete exceptional entries on the assumption they
don't need to be freed.
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/multiorder.c')
0 files changed, 0 insertions, 0 deletions
