Revert "epoll_wait(): make sure to schedule in offload"

This reverts commit 5e44c9c9f9.

Change-Id: I826336f1ece31a84072c3e62c6c6c68a641e8fb5
This commit is contained in:
Masamichi Takagi
2020-06-30 16:50:21 +09:00
parent d7ef74659b
commit 5973d66e2d
2 changed files with 0 additions and 6 deletions

View File

@ -142,4 +142,3 @@ SYSCALL_HANDLED(1045, signalfd)
SYSCALL_DELEGATED(1049, stat)
SYSCALL_DELEGATED(1060, getpgrp)
SYSCALL_HANDLED(1062, time)
SYSCALL_DELEGATED(1069, epoll_wait)

View File

@ -242,10 +242,6 @@ long do_syscall(struct syscall_request *req, int cpu)
unsigned long flags;
DECLARE_WAITQ_ENTRY(scd_wq_entry, cpu_local_var(current));
if (req->number == __NR_epoll_wait ||
req->number == __NR_epoll_pwait)
goto schedule;
cpu_pause();
/* Spin if not preemptable */
@ -274,7 +270,6 @@ long do_syscall(struct syscall_request *req, int cpu)
continue;
}
schedule:
flags = cpu_disable_interrupt_save();
/* Try to sleep until notified */