diff options
author | neal <neal> | 2008-02-15 15:44:11 +0000 |
---|---|---|
committer | neal <neal> | 2008-02-15 15:44:11 +0000 |
commit | 08ebd8b7d06d2dda73fa3c4b6177f249366f8a46 (patch) | |
tree | 39de878c0dedc33d6e4f44b3c82bf9263d66489f /viengoos/ChangeLog | |
parent | 58fd9b0c0a2ea5a72ab9ba8b07806fedafda17d3 (diff) |
2008-02-15 Neal H. Walfield <neal@gnu.org>
* pager.h: Include "memory.h", "zalloc.h", and "object.h".
(pager_collect): Take an additional argument goal and return an
integer.
(PAGER_LOW_WATER_MARK): New macro.
(PAGER_HIGH_WATER_MARK): Likewise.
(pager_collect_needed): New function.
(pager_query): Likewise.
* pager.c (LOW_WATER_MARK): Don't define.
(HIGH_WATER_MARK): Likewise.
(is_clean): New function.
(reclaim_from): New function. Broken out of pager_collect.
Correctly update statistics.
(pager_collect): Take an additional argument goal and return an
integer. Rewrite victim selection implementation.
* memory.c (memory_frame_allocate): Call page_query. If zalloc
fails, take from the available list. Add asserts. Don't clear
memory if we get memory from zalloc.
Diffstat (limited to 'viengoos/ChangeLog')
-rw-r--r-- | viengoos/ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/viengoos/ChangeLog b/viengoos/ChangeLog index 8e7d8ad..24bd98d 100644 --- a/viengoos/ChangeLog +++ b/viengoos/ChangeLog @@ -1,5 +1,25 @@ 2008-02-15 Neal H. Walfield <neal@gnu.org> + * pager.h: Include "memory.h", "zalloc.h", and "object.h". + (pager_collect): Take an additional argument goal and return an + integer. + (PAGER_LOW_WATER_MARK): New macro. + (PAGER_HIGH_WATER_MARK): Likewise. + (pager_collect_needed): New function. + (pager_query): Likewise. + * pager.c (LOW_WATER_MARK): Don't define. + (HIGH_WATER_MARK): Likewise. + (is_clean): New function. + (reclaim_from): New function. Broken out of pager_collect. + Correctly update statistics. + (pager_collect): Take an additional argument goal and return an + integer. Rewrite victim selection implementation. + * memory.c (memory_frame_allocate): Call page_query. If zalloc + fails, take from the available list. Add asserts. Don't clear + memory if we get memory from zalloc. + +2008-02-15 Neal H. Walfield <neal@gnu.org> + * ager.c (ager_loop): Calculate statistics. 2008-02-15 Neal H. Walfield <neal@gnu.org> |