new Xorg (KMS, etc.) for Radeon 9600

Adrian Chadd adrian at freebsd.org
Wed Dec 18 19:43:29 UTC 2013


[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.


-adrian


More information about the freebsd-current mailing list