forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-11-20 2e7bd41e4e8ab3d1efdabd9e263a2f7fe79bff8c
kernel/fs/timerfd.c
....@@ -471,7 +471,11 @@
471471 break;
472472 }
473473 spin_unlock_irq(&ctx->wqh.lock);
474
- cpu_relax();
474
+
475
+ if (isalarm(ctx))
476
+ hrtimer_grab_expiry_lock(&ctx->t.alarm.timer);
477
+ else
478
+ hrtimer_grab_expiry_lock(&ctx->t.tmr);
475479 }
476480
477481 /*