Author: Armin Rigo <[email protected]>
Branch: c7-more-segments
Changeset: r1045:a04c4c49dedd
Date: 2014-03-16 12:45 +0100
http://bitbucket.org/pypy/stmgc/changeset/a04c4c49dedd/
Log: Comment
diff --git a/c7/stm/pages.c b/c7/stm/pages.c
--- a/c7/stm/pages.c
+++ b/c7/stm/pages.c
@@ -122,7 +122,9 @@
/* look up the next free page */
uintptr_t free_page_num = STM_PSEGMENT->private_free_page_num;
- /* "mount" it in the segment */
+ /* "mount" it in the segment
+ (XXX later we should again attempt to group together many calls to
+ d_remap_file_pages() in succession) */
char *new_page = STM_SEGMENT->segment_base + pagenum * 4096UL;
d_remap_file_pages(new_page, 4096,
NB_PAGES * STM_SEGMENT->segment_num + free_page_num);
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit