summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorneal <neal>2008-06-23 19:53:37 +0000
committerneal <neal>2008-06-23 19:53:37 +0000
commitbc31075886288487b51b1a856f8718011a5d69e6 (patch)
tree91c673659f2c30369cbe59fff38da296803cc824 /hurd
parent486cab8528a7face71ee827157311272a563f9c5 (diff)
2008-06-23 Neal H. Walfield <neal@gnu.org>
* pager.h (pager_min_alloc_before_next_collect): New declaration. (pager_collect_needed): Only collect if AVAILABLE_PAGES > PAGER_LOW_WATER_MARK and PAGER_MIN_ALLOC_BEFORE_NEXT_COLLECT > 0. (pager_collect_needed): Don't include the dirty, non-discardable pages when consider if a collection is required. * pager.c (pager_min_alloc_before_next_collect): New variable. (pager_collect): If we don't collect enough pages to exceed the high water mark, set PAGER_MIN_ALLOC_BEFORE_NEXT_COLLECT to two-thirds the available pages. * memory.c (memory_frame_allocate): On success, decrement PAGER_MIN_ALLOC_BEFORE_NEXT_COLLECT.
Diffstat (limited to 'hurd')
0 files changed, 0 insertions, 0 deletions