From owner-svn-src-head@FreeBSD.ORG Tue Jan 18 23:26:47 2011 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EA5E1065674; Tue, 18 Jan 2011 23:26:47 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate.funkthat.com [70.36.235.232]) by mx1.freebsd.org (Postfix) with ESMTP id 675618FC1B; Tue, 18 Jan 2011 23:26:47 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id p0IMpXVA007345 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Jan 2011 14:51:33 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id p0IMpXVd007344; Tue, 18 Jan 2011 14:51:33 -0800 (PST) (envelope-from jmg) Date: Tue, 18 Jan 2011 14:51:32 -0800 From: John-Mark Gurney To: Konstantin Belousov Message-ID: <20110118225132.GD66284@funkthat.com> References: <201101182157.p0ILv2o1053343@svn.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201101182157.p0ILv2o1053343@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Tue, 18 Jan 2011 14:51:33 -0800 (PST) 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 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2011 23:26:47 -0000 Konstantin Belousov wrote this message on Tue, Jan 18, 2011 at 21:57 +0000: > 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. 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? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."