git: vkernel - Adjust use of GDF_VIRTUSER

Matthew Dillon dillon at crater.dragonflybsd.org
Thu May 30 21:50:41 PDT 2019


commit bc280c8647cecc555fb91c9b07a9eb2179683847
Author: Matthew Dillon <dillon at backplane.com>
Date:   Thu May 30 23:38:29 2019 -0500

    vkernel - Adjust use of GDF_VIRTUSER
    
    * Don't clear GDF_VIRTUSER until after exiting the critical section,
      otherwise hardclock() will tick sys instead of user.
    
      A user bound program should now show more reasonable values for
      user%.
    
    * Scrap some debug counters that are no longer applicable, cleaning
      up a few cache line bounces.

Summary of changes:
 sys/platform/vkernel64/platform/systimer.c |  3 +--
 sys/platform/vkernel64/x86_64/cpu_regs.c   | 10 +---------
 sys/platform/vkernel64/x86_64/trap.c       |  2 +-
 3 files changed, 3 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bc280c8647cecc555fb91c9b07a9eb2179683847


-- 
DragonFly BSD source repository


More information about the Commits mailing list