git: kernel - MPSAFE work - Finish tokenizing vm_page.c

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jul 3 11:22:31 PDT 2010


commit 573fb415e09e5db00b870784ff951af262c0e60d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Jul 3 11:19:26 2010 -0700

    kernel - MPSAFE work - Finish tokenizing vm_page.c
    
    * Finish tokenizing vm_page.c
    
    * Certain global procedures, particular vm_page_hold() and vm_page_unhold(),
      are best called with the vm_token already held for implied non-blocking
      operation.

Summary of changes:
 sys/kern/kern_exec.c                     |    5 +-
 sys/kern/kern_xio.c                      |   10 ++-
 sys/kern/vfs_bio.c                       |    7 ++-
 sys/kern/vfs_vm.c                        |    2 +
 sys/platform/vkernel/platform/copyio.c   |    4 +-
 sys/platform/vkernel64/platform/copyio.c |    4 +-
 sys/vfs/procfs/procfs_mem.c              |    2 -
 sys/vm/device_pager.c                    |    2 +
 sys/vm/phys_pager.c                      |    2 +
 sys/vm/vm_fault.c                        |    2 +-
 sys/vm/vm_page.c                         |  133 ++++++++++++++++++++++-------
 sys/vm/vm_page.h                         |   25 +-----
 sys/vm/vnode_pager.c                     |    5 +
 13 files changed, 138 insertions(+), 65 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/573fb415e09e5db00b870784ff951af262c0e60d


-- 
DragonFly BSD source repository





More information about the Commits mailing list