git: kernel - Fix excessive kprintf()s during refcount_wait()

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Feb 20 23:04:39 PST 2013


commit 761f82263d16005d2443720e44b5dbb397c38bdf
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Feb 20 23:01:20 2013 -0800

    kernel - Fix excessive kprintf()s during refcount_wait()
    
    * _refcount_wait() can do itself in with excessive kprintf()s
      on large multi-way machines, causing the machine to become
      unresponsive.
    
    * Rewrite the code to use a ticks test and only kprintf()
      a warning when it takes more than 60 seconds.
    
    * Used by vm_object_pip_wait().  Long I/O queues are possible.

Summary of changes:
 sys/kern/kern_refcount.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/761f82263d16005d2443720e44b5dbb397c38bdf


-- 
DragonFly BSD source repository


More information about the Commits mailing list