commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Mach branch, rbraun/page_cache, created. a3d7582ffbf1b16922e2e


From: Richard Braun
Subject: [SCM] GNU Mach branch, rbraun/page_cache, created. a3d7582ffbf1b16922e2e5646bd4c90bde2c7c9f
Date: Tue, 17 Jul 2012 20:20:54 +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  a3d7582ffbf1b16922e2e5646bd4c90bde2c7c9f (commit)

- Log -----------------------------------------------------------------
commit a3d7582ffbf1b16922e2e5646bd4c90bde2c7c9f
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]