* Private and temporary vm_caches now maintain their new virtual_base field, which allows

them to commit substantially less memory (we we're committing about 40 MB (!) too much
  after a complete system boot). This means you'll run out of memory less likely now.
* fill_area_info() no longer filters out kernel protection flags - we may want to keep
  filtering them when called from userland, though, dunno.
* Added new debugger command "avail" which shows how much memory has been committed, and
  how much is regarded as free space.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19771 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2007-01-12 15:07:18 +00:00
parent 7d90af85d3
commit d1b0be94b0
4 changed files with 56 additions and 34 deletions
+3 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2006, Axel Dörfler, [email protected].
* Copyright 2002-2007, Axel Dörfler, [email protected].
* Distributed under the terms of the MIT License.
*
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
@@ -75,7 +75,9 @@ typedef struct vm_cache {
vm_cache_ref *ref;
struct vm_cache *source;
struct vm_store *store;
off_t virtual_base;
off_t virtual_size;
// the size is absolute, and independent from virtual_base
uint32 page_count;
uint32 temporary : 1;
uint32 scan_skip : 1;