git: kernel - Refactor copyinstr and copystr

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Sep 25 09:29:15 PDT 2018


commit 879d1a9ecdfcbc90f54c3aa8f219ba19a8b4ce15
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Sep 23 11:35:21 2018 -0700

    kernel - Refactor copyinstr and copystr
    
    * Replace lodsb/stosb sequence with discrete mov's.  Remove related
      xchgq and cld.
    
    Suggested-by: mjg

Summary of changes:
 sys/platform/pc64/x86_64/support.s | 23 ++++++++++++-----------
 test/sysperf/syscall4.c            | 11 ++++++++---
 2 files changed, 20 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/879d1a9ecdfcbc90f54c3aa8f219ba19a8b4ce15


-- 
DragonFly BSD source repository



More information about the Commits mailing list