]> git.baikalelectronics.ru Git - kernel.git/commit
radix tree test suite: Test radix_tree_replace_slot() for multiorder entries
authorMatthew Wilcox <mawilcox@microsoft.com>
Thu, 22 Sep 2016 18:53:34 +0000 (11:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 25 Sep 2016 18:49:16 +0000 (11:49 -0700)
commit8502b6f09a61e41a6dc68681cd0d11e129af5ec3
treec138367e16b619c13a21fdb562b541936d4a4136
parent95d80e35ac9ed0c93e26d3d8851b6e253a3ad4c3
radix tree test suite: Test radix_tree_replace_slot() for multiorder entries

When we replace a multiorder entry, check that all indices reflect the
new value.

Also, compile the test suite with -O2, which shows other problems with
the code due to some dodgy pointer operations in the radix tree code.

Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/testing/radix-tree/Makefile
tools/testing/radix-tree/multiorder.c