Date: Tue, 13 Oct 2009 13:47:30 +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: <200910131347.n9DDlrdj019893@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2009-10-13 13:47:30 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/kern kern_umtx.c
Log:
SVN rev 198032 on 2009-10-13 13:47:30Z 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: davidxu
Revision Changes Path
1.61.2.6 +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?200910131347.n9DDlrdj019893>
