Date: Mon, 13 Apr 2009 11:54:22 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern sys_generic.c Message-ID: <200904131154.n3DBsVT1051185@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2009-04-13 11:54:22 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/kern sys_generic.c
Log:
SVN rev 190997 on 2009-04-13 11:54:22Z by rwatson
Merge r190996 from head to stable/7:
When writing out updated pollfd records when returning from
poll(), only copy out the revents field, not the whole pollfd
structure. Otherwise, if the events field is updated
concurrently by another thread, that update may be lost.
This issue apparently causes problems for the JDK on FreeBSD,
which expects the Linux behavior of not updating all fields
(somewhat oddly, Solaris does not implement the required
behavior, but presumably our adaptation of the JDK is based
on the Linux port?).
MFC after: 2 weeks
PR: kern/130924
Submitted by: Kurt Miller <kurt @ intricatesoftware.com>
Discussed with: kib
Approved by: re (kib)
Revision Changes Path
1.158.2.2 +22 -1 src/sys/kern/sys_generic.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904131154.n3DBsVT1051185>
