From owner-svn-src-all@FreeBSD.ORG Wed Oct 6 19:07:36 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 9AE131065670; Wed, 6 Oct 2010 19:07:36 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: src-committers@FreeBSD.org Date: Wed, 6 Oct 2010 15:07:24 -0400 User-Agent: KMail/1.6.2 References: <201010061851.o96IpMCx014668@svn.freebsd.org> In-Reply-To: <201010061851.o96IpMCx014668@svn.freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201010061507.28054.jkim@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r213490 - head/sys/compat/linux X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Oct 2010 19:07:36 -0000 On Wednesday 06 October 2010 02:51 pm, Jung-uk Kim wrote: > Author: jkim > Date: Wed Oct 6 18:51:22 2010 > New Revision: 213490 > URL: http://svn.freebsd.org/changeset/base/213490 > > Log: > Simplify timeout check in futex_wait() using itimerfix() and > return error if the given timeout is invalid. Consistently use int > type for timeout and correct a format string in futex_sleep(). This also fixes a case where the pointer is non-NULL but the actual content is zero. Previously we were waiting forever in that case. Jung-uk Kim