Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2008 06:16:54 +0000 (UTC)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_rwlock.c
Message-ID:  <200802070617.m176H49K020409@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jeff        2008-02-07 06:16:54 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_rwlock.c 
  Log:
   - In rw_wunlock_hard prefer to wakeup writers if there are both readers
     and writers available.  Doing otherwise can cause deadlocks as no
     read locks can proceed while there are write waiters.
  
  Sponsored by:   Nokia
  
  Revision  Changes    Path
  1.36      +4 -4      src/sys/kern/kern_rwlock.c



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