[haiku-commits] Change in ...haiku[master]: block_cache: Free up blocks more aggressively on low memory conditions.

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 11 Jul 2019 00:55:31 +0000

From waddlesplash <waddlesplash@xxxxxxxxx>:

waddlesplash has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/1576


Change subject: block_cache: Free up blocks more aggressively on low memory 
conditions.
......................................................................

block_cache: Free up blocks more aggressively on low memory conditions.

Only keep a single block when there is a "critical" low resource state.
Also don't bother doing anything if there are no unused blocks.
---
M src/system/kernel/cache/block_cache.cpp
1 file changed, 6 insertions(+), 3 deletions(-)



  git pull ssh://git.haiku-os.org:22/haiku refs/changes/76/1576/1
--
To view, visit https://review.haiku-os.org/c/haiku/+/1576
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: Ibfcbd8cb0beb1446083ca83030ea8e81c59a9628
Gerrit-Change-Number: 1576
Gerrit-PatchSet: 1
Gerrit-Owner: waddlesplash <waddlesplash@xxxxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in ...haiku[master]: block_cache: Free up blocks more aggressively on low memory conditions. - Gerrit