Re: new Xorg (KMS, etc.) for Radeon 9600

From: John Baldwin <jhb_at_freebsd.org>
Date: Mon, 23 Dec 2013 11:50:31 -0500
On Wednesday, December 18, 2013 2:43:28 pm Adrian Chadd wrote:
> [snip]
> 
> So the standard trop of UNLOCK/WORK/RELOCK is pretty dangerous.
> There's no state re-validation going on when you re-acquire that lock.
> So, although it meets the lock requirements, it may not be 'correct'.
> 
> It's scattered throughout the code base (wifi drivers aren't an
> exception here either, sigh.)
> 
> Just something to keep in mind when you validate the 'correctness' of
> this kind of lock hack.

Agreed.  It needs fixing, but the fix needs to be correct.

-- 
John Baldwin
Received on Mon Dec 23 2013 - 18:43:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:45 UTC