DragonFly BSD
DragonFly commits List (threaded) for 2010-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Remove unneeded critical sections from VM code, add pmap asserts


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 3 Dec 2010 08:53:35 -0800 (PST)

commit 080c00e6fcafedf719b52e5de548a005201b0218
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Fri Dec 3 08:48:05 2010 -0800

    kernel - Remove unneeded critical sections from VM code, add pmap asserts
    
    * Various bits of VM code now only need vm_token and no longer need
      a critical section.
    
    * Add pmap_page_assertzero() assertions in a couple of places when
      PMAP_DEBUG is enabled.
    
    * Add PMAP_DEBUG as a global kernel config option.
    
    * Be a bit more conservative and clear PG_ZERO for all page table
      pages and not just terminal page table pages.  When such pages
      are finally freed they will be zero again due to the way the
      pmap code works but don't make that assumption.

Summary of changes:
 sys/conf/options                |    1 +
 sys/kern/uipc_syscalls.c        |    2 -
 sys/platform/pc64/x86_64/pmap.c |   24 ++++++++++++++++----
 sys/vm/vm_fault.c               |   40 +++++++--------------------------
 sys/vm/vm_page.c                |   45 +-------------------------------------
 5 files changed, 31 insertions(+), 81 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/080c00e6fcafedf719b52e5de548a005201b0218


-- 
DragonFly BSD source repository



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