Added __builtin_expect macros and wrapped IORING_ENTER_SQ_WAKEUP branch

If heavy IO load then kernel thread will only very rarely need to be woken up. Only case where this condition is common is if timeout expected between IO calls in which case should be using GETEVENTS. This will avoid the compiler from optimizing the wakeup branch

Signed-off-by: Noah <goldstein.w.n@gmail.com>
2 files changed