i-g-t test for gem flink race

Dave Airlie airlied at gmail.com
Thu Dec 20 18:46:37 PST 2012


On Fri, Dec 21, 2012 at 11:49 AM, Dave Airlie <airlied at gmail.com> wrote:
> As we talked on irc, I decided to write a test case and it actually
> seems to trigger the race.
>
> Really its insane userspace behaviour and I'm not really sure we
> should care to fix, I can't see it causing an oops, more userspace
> does something insane, it gets a bad result, but I'll contemplate it a
> bit more.

Yeah after considering this a bit more, I really think its just a
userspace problem, don''t go closing gem object handles that other
threads could be using. Lets state any result after doing something
like that is undefined, and the current behaviour is within spec.

Dave.


More information about the dri-devel mailing list