Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jan 2002 12:57:36 -0800 (PST)
From:      Kirk McKusick <mckusick@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ufs/ffs ffs_softdep.c
Message-ID:  <200201122057.g0CKva044628@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
mckusick    2002/01/12 12:57:36 PST

  Modified files:
    sys/ufs/ffs          ffs_softdep.c 
  Log:
  When going to sleep, we must save our SPL so that it does not get
  lost if some other process uses the lock while we are sleeping. We
  restore it after we have slept. This functionality is provided by
  a new routine interlocked_sleep() that wraps the interlocking with
  functions that sleep. This function is then used in place of the
  old ACQUIRE_LOCK_INTERLOCKED() and FREE_LOCK_INTERLOCKED() macros.
  
  Submitted by:   Debbie Chu <dchu@juniper.net>
  
  Revision  Changes    Path
  1.104     +76 -38    src/sys/ufs/ffs/ffs_softdep.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201122057.g0CKva044628>