Loading fs/eventpoll.c +4 −7 Original line number Diff line number Diff line Loading @@ -656,8 +656,7 @@ is_linked: * wait list. */ if (waitqueue_active(&ep->wq)) __wake_up_locked(&ep->wq, TASK_UNINTERRUPTIBLE | TASK_INTERRUPTIBLE); wake_up_locked(&ep->wq); if (waitqueue_active(&ep->poll_wait)) pwake++; Loading Loading @@ -780,7 +779,7 @@ static int ep_insert(struct eventpoll *ep, struct epoll_event *event, /* Notify waiting tasks that events are available */ if (waitqueue_active(&ep->wq)) __wake_up_locked(&ep->wq, TASK_UNINTERRUPTIBLE | TASK_INTERRUPTIBLE); wake_up_locked(&ep->wq); if (waitqueue_active(&ep->poll_wait)) pwake++; } Loading Loading @@ -854,8 +853,7 @@ static int ep_modify(struct eventpoll *ep, struct epitem *epi, struct epoll_even /* Notify waiting tasks that events are available */ if (waitqueue_active(&ep->wq)) __wake_up_locked(&ep->wq, TASK_UNINTERRUPTIBLE | TASK_INTERRUPTIBLE); wake_up_locked(&ep->wq); if (waitqueue_active(&ep->poll_wait)) pwake++; } Loading Loading @@ -978,8 +976,7 @@ errxit: * wait list (delayed after we release the lock). */ if (waitqueue_active(&ep->wq)) __wake_up_locked(&ep->wq, TASK_UNINTERRUPTIBLE | TASK_INTERRUPTIBLE); wake_up_locked(&ep->wq); if (waitqueue_active(&ep->poll_wait)) pwake++; } Loading Loading
fs/eventpoll.c +4 −7 Original line number Diff line number Diff line Loading @@ -656,8 +656,7 @@ is_linked: * wait list. */ if (waitqueue_active(&ep->wq)) __wake_up_locked(&ep->wq, TASK_UNINTERRUPTIBLE | TASK_INTERRUPTIBLE); wake_up_locked(&ep->wq); if (waitqueue_active(&ep->poll_wait)) pwake++; Loading Loading @@ -780,7 +779,7 @@ static int ep_insert(struct eventpoll *ep, struct epoll_event *event, /* Notify waiting tasks that events are available */ if (waitqueue_active(&ep->wq)) __wake_up_locked(&ep->wq, TASK_UNINTERRUPTIBLE | TASK_INTERRUPTIBLE); wake_up_locked(&ep->wq); if (waitqueue_active(&ep->poll_wait)) pwake++; } Loading Loading @@ -854,8 +853,7 @@ static int ep_modify(struct eventpoll *ep, struct epitem *epi, struct epoll_even /* Notify waiting tasks that events are available */ if (waitqueue_active(&ep->wq)) __wake_up_locked(&ep->wq, TASK_UNINTERRUPTIBLE | TASK_INTERRUPTIBLE); wake_up_locked(&ep->wq); if (waitqueue_active(&ep->poll_wait)) pwake++; } Loading Loading @@ -978,8 +976,7 @@ errxit: * wait list (delayed after we release the lock). */ if (waitqueue_active(&ep->wq)) __wake_up_locked(&ep->wq, TASK_UNINTERRUPTIBLE | TASK_INTERRUPTIBLE); wake_up_locked(&ep->wq); if (waitqueue_active(&ep->poll_wait)) pwake++; } Loading