From owner-freebsd-x11@FreeBSD.ORG Sun Nov 11 17:36:38 2012 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D2AC2646 for ; Sun, 11 Nov 2012 17:36:38 +0000 (UTC) (envelope-from ben@bwidawsk.net) Received: from shiva.chad-versace.us (209-20-75-48.static.cloud-ips.com [209.20.75.48]) by mx1.freebsd.org (Postfix) with ESMTP id 1C64F8FC08 for ; Sun, 11 Nov 2012 17:36:37 +0000 (UTC) Received: by shiva.chad-versace.us (Postfix, from userid 1005) id 86351885AD; Sun, 11 Nov 2012 17:28:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on shiva.chad-versace.us X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.2 Received: from unknown (c-24-21-100-90.hsd1.or.comcast.net [24.21.100.90]) by shiva.chad-versace.us (Postfix) with ESMTPSA id 2B72A884E8; Sun, 11 Nov 2012 17:28:04 +0000 (UTC) Date: Sun, 11 Nov 2012 09:26:19 -0800 From: Ben Widawsky To: Richard Yao Subject: Re: [Intel-gfx] [PATCH] intel: Fix missing ETIME on BSD operating systems Message-ID: <20121111092619.00004321@unknown> In-Reply-To: <509EC8DA.4050205@gentoo.org> References: <1352525096-10345-1-git-send-email-ryao@cs.stonybrook.edu> <87ip9d1al2.fsf@eliezer.anholt.net> <509EC8DA.4050205@gentoo.org> X-Mailer: Claws Mail 3.8.0cvs30 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: gentoo-bsd@lists.gentoo.org, Eric Anholt , intel-gfx@lists.freedesktop.org, x11@freebsd.org, David Shao X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2012 17:36:38 -0000 On Sat, 10 Nov 2012 16:36:26 -0500 Richard Yao wrote: > On 11/10/2012 03:12 PM, Eric Anholt wrote: > > Richard Yao writes: > > > >> From: David Shao > >> > >> Originally posted to Free Desktop bug #52549 by David Shao. > >> Resolves Gentoo Bug #433403. > >> Commit message by Richard Yao. > > > > Are you really unable to get the same errnos in your port of the > > kernel modules? Having mismatched errno returns from upstream is a > > great way to have obscure bugs on your port, given that our kernel > > guys like to look for alternative errnos to be able to distinguish > > failure modes from userland. > > > > I don't like the idea of this patch landing. > > I have added the FreeBSD x11 team alias to CC, which I probably should > have done in my original email. They are in a better position to > answer this than I am. > > At present, MySQL also does this. Changing that would require changes > to the userland of FreeBSD (and other BSDs). The FreeBSD x11 team is > in a position to do that. I am in the process of getting Gentoo's X11 > stack working on Gentoo FreeBSD, so I am interested in their answer > to your question as well. > > Before pushing the patch, I did a bit of googling and I too found that MySQL and LibreOffice does this, so it seemed okay to me. It's not terribly prolific because I think many cross-platform products do not use interfaces which return ETIME. It sounds like BSD though is the only remaining holdout, as Windows and OSX both seem to support ETIME.