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

cvs commit: src/sys/kern src/sys/sys

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 9 Nov 2004 09:36:42 -0800 (PST)

dillon      2004/11/09 09:36:42 PST

DragonFly src repository

  Modified files:
    sys/kern             vfs_bio.c 
    sys/sys              buf2.h 
  Create a non-blocking version of BUF_REFCNT() called BUF_REFCNTNB() to be
  used for non-critical KASSERT()'s or in situations where the buffer lock
  is in a known state.
  This fixes a blocking condition in the ATA interrupt path.  The normal
  BUF_REFCNT() calls lockcount() which obtains a token which caused the
  interrupt thread to temporarily block in biodone() due to a KASSERT.
  Found-from: kernel core provided by David Rhodus.
  Revision  Changes    Path
  1.32      +17 -9     src/sys/kern/vfs_bio.c
  1.8       +16 -8     src/sys/sys/buf2.h


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