Author: Tobias Weber <[email protected]>
Branch: c8-tcp-style-trx-length
Changeset: r2138:48e819b53680
Date: 2017-07-24 10:42 +0200
http://bitbucket.org/pypy/stmgc/changeset/48e819b53680/
Log: Backed out changeset feed32340eb2
diff --git a/c8/stm/nursery.c b/c8/stm/nursery.c
--- a/c8/stm/nursery.c
+++ b/c8/stm/nursery.c
@@ -32,7 +32,7 @@
backoff is <BACKOFF_COUNT> + b at default trx length,
linear decrease to b at max trx length */
const int b = 5;
- tl->transaction_length_backoff +=
+ tl->transaction_length_backoff =
(int)((BACKOFF_MULTIPLIER * -log10(rel_trx_len)) + b);
// printf("thread %d, backoff %d\n", tl->thread_local_counter,
tl->transaction_length_backoff);
tl->linear_transaction_length_increment = rel_trx_len / (BACKOFF_COUNT +
b);
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit