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

git: kernel - Move grow_stack code in fault path to improve fault performance


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 1 Mar 2010 16:13:35 -0800 (PST)

commit 8d496bf981b2cacb9c21ccdb66a9991978c986ea
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Mon Mar 1 16:09:41 2010 -0800

    kernel - Move grow_stack code in fault path to improve fault performance
    
    * grow_stack() calls were being performed unconditionally during a
      page fault.  Shift the code over to vm_fault() and only run it if
      the vm_map_lookup() call fails.
    
    * Also take this opportunity to remove trapwrite() (added by Matt).
    
    Submitted-by: Venkatesh Srinivas <me@endeavour.zapto.org>

Summary of changes:
 sys/emulation/linux/i386/linux_sysvec.c |    4 +-
 sys/platform/pc32/i386/trap.c           |   60 ------------------------------
 sys/platform/pc32/i386/vm_machdep.c     |   12 ------
 sys/platform/pc64/x86_64/trap.c         |   15 --------
 sys/platform/pc64/x86_64/vm_machdep.c   |   12 ------
 sys/platform/vkernel/i386/trap.c        |   61 -------------------------------
 sys/platform/vkernel/i386/vm_machdep.c  |   12 ------
 sys/vm/vm_extern.h                      |    1 -
 sys/vm/vm_fault.c                       |   19 ++++++++--
 9 files changed, 17 insertions(+), 179 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8d496bf981b2cacb9c21ccdb66a9991978c986ea


-- 
DragonFly BSD source repository



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