And yet the Beaglebone Black has been able to handle this down at the 100-200nS level in the PRUs. For years.
While I admire the ingenuity of people doing real-time with Linux, I just shake my head at the man hours wasted that they could be doing the "thing they want to do" instead of fighting Linux.