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

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 21 Jan 2011 10:04:07 -0800 (PST)

commit f697b97d96e73922ab1da683660493e676dcf0a5
Author: Matthew Dillon <dillon@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



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