Date: Wed, 19 Jan 2011 14:24:49 +0200 From: Kostik Belousov <kostikbel@gmail.com> To: John-Mark Gurney <jmg@funkthat.com> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r217561 - in head/sys: arm/arm i386/i386 mips/mips powerpc/aim powerpc/booke sparc64/sparc64 Message-ID: <20110119122449.GX2518@deviant.kiev.zoral.com.ua> In-Reply-To: <20110118225132.GD66284@funkthat.com> References: <201101182157.p0ILv2o1053343@svn.freebsd.org> <20110118225132.GD66284@funkthat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--XauJzKcUIZVdj07X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 18, 2011 at 02:51:32PM -0800, John-Mark Gurney wrote: > Konstantin Belousov wrote this message on Tue, Jan 18, 2011 at 21:57 +000= 0: > > sf_buf_alloc() calls msleep(PCATCH) when SFB_CATCH flag was given, > > and for simultaneous wakeup and signal delivery, msleep() returns > > EINTR/ERESTART despite the thread was selected for wakeup_one(). As > > result, we loose a wakeup, and some other waiter will not be woken up. >=20 > Shouldn't this behavior be documented in the man page? That even > though msleep may return a non-zero value that it could have been > really woken up? Can you provide the good wording ? And commit it then ? --XauJzKcUIZVdj07X Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk022BEACgkQC3+MBN1Mb4gk4QCeKyulo5osV+oeZ482/9Y7XCxi lHgAoPKyZW5dFyuLf/EQId+c7Iz8bZE5 =ylCo -----END PGP SIGNATURE----- --XauJzKcUIZVdj07X--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110119122449.GX2518>