OpenCloudOS-Kernel/tools/testing/radix-tree/linux
Ross Zwisler eb73f7f330 radix-tree: add test for radix_tree_locate_item()
Add a unit test that provides coverage for the bug fixed in the commit
entitled "radix-tree: rewrite radix_tree_locate_item fix" from Hugh
Dickins.  I've verified that this test fails before his patch due to
miscalculated 'index' values in __locate() in lib/radix-tree.c, and
passes with his fix.

Link: http://lkml.kernel.org/r/1462307263-20623-1-git-send-email-ross.zwisler@linux.intel.com
Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-05-20 17:58:30 -07:00
..
bitops radix tree test harness 2016-03-17 15:09:34 -07:00
bitops.h radix tree test harness 2016-03-17 15:09:34 -07:00
bug.h radix tree test harness 2016-03-17 15:09:34 -07:00
cpu.h radix tree test harness 2016-03-17 15:09:34 -07:00
export.h radix tree test harness 2016-03-17 15:09:34 -07:00
gfp.h radix tree test harness 2016-03-17 15:09:34 -07:00
init.h radix-tree: add test for radix_tree_locate_item() 2016-05-20 17:58:30 -07:00
kernel.h radix-tree: add support for multi-order iterating 2016-05-20 17:58:30 -07:00
kmemleak.h radix tree test harness 2016-03-17 15:09:34 -07:00
mempool.h radix tree test harness 2016-03-17 15:09:34 -07:00
notifier.h radix tree test harness 2016-03-17 15:09:34 -07:00
percpu.h radix tree test harness 2016-03-17 15:09:34 -07:00
preempt.h radix tree test harness 2016-03-17 15:09:34 -07:00
radix-tree.h radix tree test harness 2016-03-17 15:09:34 -07:00
rcupdate.h radix tree test harness 2016-03-17 15:09:34 -07:00
slab.h radix tree test suite: fix build 2016-05-20 17:58:30 -07:00
types.h radix tree test suite: fix build 2016-05-20 17:58:30 -07:00