mirror of
https://review.haiku-os.org/haiku
synced 2025-01-21 05:53:46 +01:00
ba44a1e8e1
for temporary memory anymore, it's the store's responsibility to do that correctly now, and that functionality is reached via the vm_cache using vm_cache_set_minimal_commitment(). Therefore, the vm_store commit() function now returns a status instead of the size that could be commited. Replaced the max_commit mechanism with one that cares about the available memory, stores can reserve and unreserve such memory. The anonymous_commit() will now fail in case it could not reserve the needed amount of memory. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9777 a95241bf-73f2-0310-859d-f6bbb57e9c96