Date: Tue, 13 Oct 2009 13:03:31 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_umtx.c Message-ID: <200910131303.n9DD3gxr016726@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2009-10-13 13:03:31 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/kern kern_umtx.c
Log:
SVN rev 198030 on 2009-10-13 13:03:31Z by attilio
MFC r197476:
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.
Approved by: re (kib), davidxu
Revision Changes Path
1.73.2.2 +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?200910131303.n9DD3gxr016726>
