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

git: kernel - Adjust pagezero/pagecopy assembly and re-enable VM_ALLOC_ZERO


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 26 Oct 2011 14:55:04 -0700 (PDT)

commit 8f901ed8c5e62fb529eb8944758cee9e70f0ea5b
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Oct 26 14:48:10 2011 -0700

    kernel - Adjust pagezero/pagecopy assembly and re-enable VM_ALLOC_ZERO
    
    * Remove the movnti, sfence, and prefetch instructions from the pagezero(0
      and pagecopy() assembly.  They don't help and will eve hurt on some of
      the less powerful cpus.
    
    * Re-enable the use of VM_ALLOC_ZERO.  There was no difference in test
      compile times w/ the concurrent buildkernel -j 48 NO_MODULES=TRUE test.
      It might help w/lower-load edge cases so keep it around.

Summary of changes:
 sys/platform/pc64/x86_64/support.s |   26 +++++++++++++-------------
 sys/vm/vm_fault.c                  |   14 ++------------
 2 files changed, 15 insertions(+), 25 deletions(-)

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


-- 
DragonFly BSD source repository



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