diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2017-09-08 16:14:52 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-09-08 18:26:48 -0700 |
commit | b10d43f9898e0b56f6cf2375093dbd2c5db54486 (patch) | |
tree | 9a0b1da6a0972dd877ea5c36f05e9267a5554420 /kernel | |
parent | 977bd8d5e1e61dc877c468e8937a4ab3094e53eb (diff) |
lib/rbtree_test.c: support rb_root_cached
We can work with a single rb_root_cached root to test both cached and
non-cached rbtrees. In addition, also add a test to measure latencies
between rb_first and its fast counterpart.
Link: http://lkml.kernel.org/r/20170719014603.19029-7-dave@stgolabs.net
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions