projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rcuja: tweak pigeon min child for 32-bit
[userspace-rcu.git]
/
rcuja
/
rcuja.c
diff --git
a/rcuja/rcuja.c
b/rcuja/rcuja.c
index b0d33221ae6c730ed756453b655dba5564fe38b7..8f62550f76fc0b23874fc70ce83cf967f9df4fb2 100644
(file)
--- a/
rcuja/rcuja.c
+++ b/
rcuja/rcuja.c
@@
-128,7
+128,7
@@
const struct cds_ja_type ja_types[] = {
* Upon node removal below min_child, if child pool is filled
* beyond capacity, we roll back to pigeon.
*/
* Upon node removal below min_child, if child pool is filled
* beyond capacity, we roll back to pigeon.
*/
- { .type_class = RCU_JA_PIGEON, .min_child = 8
9
, .max_child = ja_type_7_max_child, .order = 10, },
+ { .type_class = RCU_JA_PIGEON, .min_child = 8
3
, .max_child = ja_type_7_max_child, .order = 10, },
{ .type_class = RCU_JA_NULL, .min_child = 0, .max_child = ja_type_8_max_child, },
};
{ .type_class = RCU_JA_NULL, .min_child = 0, .max_child = ja_type_8_max_child, },
};
@@
-176,7
+176,7
@@
const struct cds_ja_type ja_types[] = {
* Upon node removal below min_child, if child pool is filled
* beyond capacity, we roll back to pigeon.
*/
* Upon node removal below min_child, if child pool is filled
* beyond capacity, we roll back to pigeon.
*/
- { .type_class = RCU_JA_PIGEON, .min_child =
101
, .max_child = ja_type_7_max_child, .order = 11, },
+ { .type_class = RCU_JA_PIGEON, .min_child =
95
, .max_child = ja_type_7_max_child, .order = 11, },
{ .type_class = RCU_JA_NULL, .min_child = 0, .max_child = ja_type_8_max_child, },
};
{ .type_class = RCU_JA_NULL, .min_child = 0, .max_child = ja_type_8_max_child, },
};
@@
-2435,6
+2435,8
@@
int cds_ja_destroy(struct cds_ja *ja,
ret = rcuja_delete_ht(ja->ht);
if (ret)
return ret;
ret = rcuja_delete_ht(ja->ht);
if (ret)
return ret;
+ fprintf(stderr, "Waiting arbitrary time for node free accounting...\n");
+ sleep(10); //wait for free TEST XXX
flavor->thread_online();
if (uatomic_read(&ja->nr_fallback))
fprintf(stderr,
flavor->thread_online();
if (uatomic_read(&ja->nr_fallback))
fprintf(stderr,
This page took
0.026258 seconds
and
4
git commands to generate.