git: kernel - Fix lockup when debug.ktr.resynchronize is enabled

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jan 21 10:04:55 PST 2011


commit f697b97d96e73922ab1da683660493e676dcf0a5
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Jan 21 10:02:31 2011 -0800

    kernel - Fix lockup when debug.ktr.resynchronize is enabled
    
    * The TSC resynchronization code can livelock the system due to the
      manual hard loops it runs to try to synchronize the TSC's on all
      cpus.
    
    * Change the code to use the cpusync API.  It will be less accurate but
      it should no longer result in system livelocks.

Summary of changes:
 sys/kern/kern_ktr.c |   84 +++++++++++++++-----------------------------------
 1 files changed, 25 insertions(+), 59 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list