diff options
author | Matthew Wilcox <mawilcox@microsoft.com> | 2016-09-22 11:53:34 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-09-25 11:49:16 -0700 |
commit | 62fd5258ebe3ea240371234955a6e2cc99e0b6c3 (patch) | |
tree | c138367e16b619c13a21fdb562b541936d4a4136 /tools/testing/radix-tree/Makefile | |
parent | 9c0e28a7be656d737fb18998e2dcb0b8ce595643 (diff) | |
download | linux-stable-62fd5258ebe3ea240371234955a6e2cc99e0b6c3.tar.gz linux-stable-62fd5258ebe3ea240371234955a6e2cc99e0b6c3.tar.bz2 linux-stable-62fd5258ebe3ea240371234955a6e2cc99e0b6c3.zip |
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>
Diffstat (limited to 'tools/testing/radix-tree/Makefile')
-rw-r--r-- | tools/testing/radix-tree/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/radix-tree/Makefile b/tools/testing/radix-tree/Makefile index 3b530467148e..9d0919ed52a4 100644 --- a/tools/testing/radix-tree/Makefile +++ b/tools/testing/radix-tree/Makefile @@ -1,5 +1,5 @@ -CFLAGS += -I. -g -Wall -D_LGPL_SOURCE +CFLAGS += -I. -g -O2 -Wall -D_LGPL_SOURCE LDFLAGS += -lpthread -lurcu TARGETS = main OFILES = main.o radix-tree.o linux.o test.o tag_check.o find_next_bit.o \ |