[pypy-commit] stmgc default: Mention in TODO some idea from Remi's technical report
arigo
noreply at buildbot.pypy.org
Fri Mar 28 10:24:34 CET 2014
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r1111:f50166f43ba4
Date: 2014-03-28 10:24 +0100
http://bitbucket.org/pypy/stmgc/changeset/f50166f43ba4/
Log: Mention in TODO some idea from Remi's technical report
diff --git a/c7/TODO b/c7/TODO
--- a/c7/TODO
+++ b/c7/TODO
@@ -1,6 +1,3 @@
-
-known-working revision: 75893b92af4e
-
- use small uniform gcpages
@@ -12,3 +9,5 @@
minor collections
- fork() is done by copying the whole mmap non-lazily; improve.
+
+- contention.c: when pausing: should also tell other_pseg "please commit soon"
diff --git a/c7/stm/contention.c b/c7/stm/contention.c
--- a/c7/stm/contention.c
+++ b/c7/stm/contention.c
@@ -149,6 +149,8 @@
*/
contmgr.other_pseg->signal_when_done = true;
+ /* XXX should also tell other_pseg "please commit soon" */
+
dprintf(("pausing...\n"));
cond_signal(C_AT_SAFE_POINT);
STM_PSEGMENT->safe_point = SP_WAIT_FOR_C_TRANSACTION_DONE;
More information about the pypy-commit
mailing list