[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Mach branch, rbraun/page_cache, created. 4e0134879bc030a9aa040
From: |
Richard Braun |
Subject: |
[SCM] GNU Mach branch, rbraun/page_cache, created. 4e0134879bc030a9aa040df5e02b87415467af02 |
Date: |
Thu, 19 Jul 2012 09:25:01 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mach".
The branch, rbraun/page_cache has been created
at 4e0134879bc030a9aa040df5e02b87415467af02 (commit)
- Log -----------------------------------------------------------------
commit 4e0134879bc030a9aa040df5e02b87415467af02
Author: Richard Braun <address@hidden>
Date: Tue Jul 17 19:47:13 2012 +0000
Provide basic page cache statistics
* Makefrag.am (include_mach_HEADERS): Add
include/mach/vm_cache_statistics.h.
* include/mach/mach4.defs (vm_cache_statistics_data_t): New type.
(vm_cache_statistics): New routine declaration.
* include/mach/mach_types.h: Add #include <mach/vm_cache_statistics.h>.
* vm/vm_object.c (vm_object_cached_pages): New variable.
(vm_object_cached_pages_lock_data): Likewise.
(vm_object_deallocate): Update number of cached pages.
(vm_object_lookup): Likewise.
(vm_object_lookup_name): Likewise.
(vm_object_destroy): Likewise.
(vm_object_enter): Likewise.
* vm/vm_object.h (ref_count): Declare as int.
(resident_page_count): Likewise.
(vm_object_cached_count): Add extern declaration.
(vm_object_cached_pages): Likewise.
(vm_object_cached_pages_lock_data): Likewise.
(vm_object_cached_pages_update): New macro.
* vm/vm_resident.c (vm_page_insert): Assert resident page count doesn't
overflow, update number of cached pages as appropriate.
(vm_page_replace): Likewise.
(vm_page_remove): Update number of cached pages as appropriate.
* vm/vm_user.c: Add #include <mach/vm_cache_statistics.h>.
(vm_cache_statistics): New function.
* vm/vm_user.h: Add #include <mach/mach_types.h>.
(vm_cache_statistics): New declaration.
-----------------------------------------------------------------------
hooks/post-receive
--
GNU Mach
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Mach branch, rbraun/page_cache, created. 4e0134879bc030a9aa040df5e02b87415467af02,
Richard Braun <=