Linux kernel 如何在Linux中为x86_64实现epoll_wait

Linux kernel 如何在Linux中为x86_64实现epoll_wait,linux-kernel,Linux Kernel,我想知道在Linux for x86\u 64中如何实现epoll\u waitsyscall。我浏览了源代码,找到了一个名为sys\u epoll\u wait的入口点。但是,我找不到它的实现。有人能给我指出我需要查找这个特定系统调用的正确文件吗。非常感谢。在fs/eventpoll.c中: SYSCALL_DEFINE4(epoll_wait, int, epfd, struct epoll_event __user *, events, int, maxevents, int, t

我想知道在Linux for x86\u 64中如何实现
epoll\u wait
syscall。我浏览了源代码,找到了一个名为
sys\u epoll\u wait
的入口点。但是,我找不到它的实现。有人能给我指出我需要查找这个特定系统调用的正确文件吗。非常感谢。

fs/eventpoll.c
中:

SYSCALL_DEFINE4(epoll_wait, int, epfd, struct epoll_event __user *, events,
    int, maxevents, int, timeout)