Peter, Ingo, I sent this patch about a month ago and got no response.
https://patchwork.kernel.org/patch/9684545/ Does it seem reasonable? I'm not sure if taking rt_runtime_lock is strictly necessary, but it's a big improvement to taking rq->lock every pass through the loop. Is there another way to fix this? Thanks, Shaggy