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

git: HAMMER VFS - Fix another low memory deadlock issue


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 23 Mar 2010 16:39:24 -0700 (PDT)

commit 1205225348c6b0af2fa0b8dea95c18d2dca61763
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Tue Mar 23 16:27:50 2010 -0700

    HAMMER VFS - Fix another low memory deadlock issue
    
    * Unlock the cursor around calls to vm_wait_nominal() to avoid deadlocking
      while holding shared node locks.
    
    * Add vm_test_nominal() which returns TRUE if vm_wait_nominal() would
      block.
    
    Reported-by: Francois Tigeot <ftigeot@wolfpond.org>

Summary of changes:
 sys/vfs/hammer/hammer_rebalance.c |    6 +++++-
 sys/vm/vm_extern.h                |    1 +
 sys/vm/vm_page.c                  |   11 +++++++++++
 3 files changed, 17 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1205225348c6b0af2fa0b8dea95c18d2dca61763


-- 
DragonFly BSD source repository



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