Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 2009 00:03:13 +0000 (UTC)
From:      David Xu <davidxu@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern kern_umtx.c
Message-ID:  <200909250003.n8P03Svq009210@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
davidxu     2009-09-25 00:03:13 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_umtx.c 
  Log:
  SVN rev 197476 on 2009-09-25 00:03:13Z by davidxu
  
  In function do_rw_wrlock, when a writer got an error and before returning,
  check if there are readers blocked by us via URWLOCK_WRITE_WAITERS flag,
  and resume the readers. The error must be EAGAIN, otherwise there must
  have memory problem, and nobody can rescue the buggy application.
  
  The revision 197445 might be reverted.
  
  Revision  Changes    Path
  1.74      +16 -2     src/sys/kern/kern_umtx.c



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