projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f94655b
)
Add comment about (not) dynamically scoping madvice.
author
Taylor R Campbell
<campbell@mumble.net>
Tue, 5 Apr 2011 00:52:36 +0000
(
00:52
+0000)
committer
Taylor R Campbell
<campbell@mumble.net>
Tue, 5 Apr 2011 00:52:36 +0000
(
00:52
+0000)
src/microcode/gcloop.c
patch
|
blob
|
history
diff --git
a/src/microcode/gcloop.c
b/src/microcode/gcloop.c
index 8c0a22fc646adf9c9dece7af64460215befc2c14..845f3f8826ec69fdcde8ccc49caaf805e1e5a190 100644
(file)
--- a/
src/microcode/gcloop.c
+++ b/
src/microcode/gcloop.c
@@
-394,6
+394,11
@@
gc_scan_oldspace (SCHEME_OBJECT * scan, SCHEME_OBJECT * end)
{
OS_expect_sequential_access (scan, end);
run_gc_loop (scan, (&end));
+ /* FIXME: This doesn't actually revert the expectation for [scan,
+ end). However, Unix has no way to query the madvice, or to
+ dynamically scope it, so this is the best we can do. Fortunately,
+ at the moment, none of the system uses any special madvice, so it
+ doesn't matter for now. */
OS_expect_normal_access (scan, end);
}