We now track how many pages are in a vm_cache. Therefore, the area_info.ram_size

now reflects the number of pages in the areas cache, instead of just the size of the
area.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16834 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-03-18 20:17:31 +00:00
parent bc9902cf98
commit 5f0bf2a3e1
3 changed files with 24 additions and 14 deletions
+1
View File
@@ -71,6 +71,7 @@ typedef struct vm_cache {
struct vm_cache *source;
struct vm_store *store;
off_t virtual_size;
uint32 page_count;
uint32 temporary : 1;
uint32 scan_skip : 1;
} vm_cache;