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

git: kernel - Change lwkt_wait_ipiq() to use the TSC


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 27 Jun 2013 14:12:34 -0700 (PDT)

commit 3ec72a5566c2c0b3400dcef3da3d44ad46d4b291
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Thu Jun 27 14:10:48 2013 -0700

    kernel - Change lwkt_wait_ipiq() to use the TSC
    
    * lwkt_wait_ipiq() was using a static counter/constant for its failsafe
      panic, which can vary immensly over time and might not be long enough
      for systems running under VMs.
    
    * Change the code to use the TSC api to properly time the failsafe.  It
      will generate warnings each second and panic at 10 seconds if the IPIQ
      fails to drain.
    
    Reported-by: marino

Summary of changes:
 sys/kern/lwkt_ipiq.c | 24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3ec72a5566c2c0b3400dcef3da3d44ad46d4b291


-- 
DragonFly BSD source repository



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