Putting a task queue in there is possibly not good. Thats very performance
critical code. Do devices do read/write etc calls to the frame grabber and
if so can you delay the switch akin to delaying FPU state. If it is mmaped
you may be able to do the same by unmapping and remapping pages for the
8 maps.
Alan