Kernel: Remove minimum timeout of 100 ms from epoll

This is not actually needed and was just temporary code to make sure i
notified the epoll everywhere
This commit is contained in:
Bananymous 2025-08-15 18:28:11 +03:00
parent 804cbeb1a7
commit 809d07546a
1 changed files with 1 additions and 2 deletions

View File

@ -207,8 +207,7 @@ namespace Kernel
continue;
SpinLockGuardAsMutex smutex(guard);
const uint64_t timeout_ns = BAN::Math::min<uint64_t>(100'000'000, waketime_ns - current_ns);
TRY(Thread::current().block_or_eintr_or_timeout_ns(m_thread_blocker, timeout_ns, false, &smutex));
TRY(Thread::current().block_or_eintr_or_timeout_ns(m_thread_blocker, waketime_ns - current_ns, false, &smutex));
}
return event_count;