aboutsummaryrefslogtreecommitdiff
path: root/kern/slab.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2016-06-17 12:50:45 +0200
committerRichard Braun <rbraun@sceen.net>2016-06-17 12:58:33 +0200
commit8fcdfb646d145f285341ef597568bb9e003ce28f (patch)
treed2b8ff63f7c0403c329362e4352505b4f2b8b5e1 /kern/slab.h
parentfdf86cccfeb4c3e09e024b3a35bbce6308f36412 (diff)
downloadgnumach-8fcdfb646d145f285341ef597568bb9e003ce28f.tar.gz
gnumach-8fcdfb646d145f285341ef597568bb9e003ce28f.tar.bz2
gnumach-8fcdfb646d145f285341ef597568bb9e003ce28f.zip
Change page cache statistics
Instead of reporting statistics about unreferenced objects (the object cache), report statistics about external objects (the page cache). * vm/vm_object.c (vm_object_cached_count): Remove variable. (vm_object_cache_add): Remove object cache stats updates. (vm_object_cache_remove): Likewise. (vm_object_terminate): Update page cache stats. * vm/vm_object.h (vm_object_cached_count): Remove variable. (vm_object_cached_pages): Likewise. (vm_object_cached_pages_lock_data): Likewise. (vm_object_cached_pages_update): Remove macro. (vm_object_external_count): New extern variable. (vm_object_external_pages): Likewise. * vm/vm_resident.c (vm_object_external_count): New variable. (vm_object_external_pages): Likewise. (vm_page_insert): Remove object cache stats updates and update page cache stats. (vm_page_replace): Likewise. (vm_page_remove): Likewise. * vm/vm_user.c (vm_cache_statistics): Report page cache stats instead of object cache stats.
Diffstat (limited to 'kern/slab.h')
0 files changed, 0 insertions, 0 deletions