projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rcuja-range: allow variable number of bits for key
[userspace-rcu.git]
/
tests
/
test_urcu_ja_range.c
diff --git
a/tests/test_urcu_ja_range.c
b/tests/test_urcu_ja_range.c
index 898adafc126a74b7cf9a4d26b668ef7d4cdb62b1..12abcc51465b64a7124fb3e48a2150e225e145af 100644
(file)
--- a/
tests/test_urcu_ja_range.c
+++ b/
tests/test_urcu_ja_range.c
@@
-405,8
+405,9
@@
int do_mt_test(void)
count_reader = malloc(sizeof(*count_reader) * nr_readers);
count_writer = malloc(sizeof(*count_writer) * nr_writers);
count_reader = malloc(sizeof(*count_reader) * nr_readers);
count_writer = malloc(sizeof(*count_writer) * nr_writers);
- printf("Allocating Judy Array for ranges\n");
- test_ja = cds_ja_range_new();
+ printf("Allocating %u-bit Judy Array for ranges\n",
+ key_bits);
+ test_ja = cds_ja_range_new(key_bits);
if (!test_ja) {
printf("Error allocating judy array.\n");
ret = -1;
if (!test_ja) {
printf("Error allocating judy array.\n");
ret = -1;
This page took
0.022758 seconds
and
4
git commands to generate.