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

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 20 Feb 2013 23:04:39 -0800 (PST)

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



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