Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Nov 2012 09:26:19 -0800
From:      Ben Widawsky <ben@bwidawsk.net>
To:        Richard Yao <ryao@gentoo.org>
Cc:        gentoo-bsd@lists.gentoo.org, Eric Anholt <eric@anholt.net>, intel-gfx@lists.freedesktop.org, x11@freebsd.org, David Shao <davshao@gmail.com>
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>

index | next in thread | previous in thread | raw e-mail

On Sat, 10 Nov 2012 16:36:26 -0500
Richard Yao <ryao@gentoo.org> wrote:

> On 11/10/2012 03:12 PM, Eric Anholt wrote:
> > Richard Yao <ryao@cs.stonybrook.edu> writes:
> > 
> >> From: David Shao <davshao@gmail.com>
> >>
> >> 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.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121111092619.00004321>