eventpoll: support non-blocking do_epoll_ctl() calls
mainline inclusion from mainline-5.6-rc1 commit 39220e8d category: feature bugzilla: https://bugzilla.openeuler.org/show_bug.cgi?id=27 CVE: NA --------------------------- Also make it available outside of epoll, along with the helper that decides if we need to copy the passed in epoll_event. Signed-off-by: NJens Axboe <axboe@kernel.dk> Conflicts: fs/eventpoll.c [conflicts with get_file(tf.file); in commit 492a9215c4e6 ("epoll: Keep a reference on files added to the check list")] Signed-off-by: Nyangerkun <yangerkun@huawei.com> Reviewed-by: Nzhangyi (F) <yi.zhang@huawei.com> Signed-off-by: NCheng Jian <cj.chengjian@huawei.com>
Showing
想要评论请 注册 或 登录