kernel/fs/timerfd.c
.. .. @@ -471,7 +471,11 @@ 471 471 break; 472 472 } 473 473 spin_unlock_irq(&ctx->wqh.lock); 474 - cpu_relax();474 +475 + if (isalarm(ctx))476 + hrtimer_grab_expiry_lock(&ctx->t.alarm.timer);477 + else478 + hrtimer_grab_expiry_lock(&ctx->t.tmr);475 479 } 476 480 477 481 /*