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

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Oct 26 14:56:21 PDT 2011


commit 8f901ed8c5e62fb529eb8944758cee9e70f0ea5b
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list