sna: Detect and handle mi recursion
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 30 Oct 2013 11:52:05 +0000 (11:52 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 30 Oct 2013 13:42:44 +0000 (13:42 +0000)
commitc6b0e3fe0c299488932ba0392847f1faf298d079
tree436c60f23f3b6c5f595b42da66f6b2eff8ea50ad
parent4d13d52258702f2581ca4f695b69e4dc8f510581
sna: Detect and handle mi recursion

Some of the mi routines recuse back into the generic accel routines and
so confuse our trapping of SIGBUS. Add extra assertions to pinpoint the
recursion and unwrap sufficiently to avoid that recursion.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_accel.c