Kernel: use wake_with_waketime in epoll

We already have the wake time so there is no reason to calculate the
timeout
This commit is contained in:
2026-02-27 19:14:35 +02:00
parent d16f07a547
commit 5c38832456

View File

@@ -209,7 +209,7 @@ namespace Kernel
continue;
SpinLockGuardAsMutex smutex(guard);
TRY(Thread::current().block_or_eintr_or_timeout_ns(m_thread_blocker, waketime_ns - current_ns, false, &smutex));
TRY(Thread::current().block_or_eintr_or_waketime_ns(m_thread_blocker, waketime_ns, false, &smutex));
}
return event_count;