Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.24-git14 /fs/eventpoll.c

Filename:/fs/eventpoll.c
Lines Added:4
Lines Deleted:7
Also changed in: (Previous) 2.6.24-git13  2.6.24-git12  2.6.24-git11  2.6.24-git10  2.6.24  2.6.24-rc8 
(Following) 2.6.24-git15  2.6.24-git16  2.6.24-git17  2.6.24.1-rc1  2.6.24-git18  2.6.24-git19 

Location
[  2.6.24-git14
  [  fs
     o  eventpoll.c

Patch

diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index 34f68f3..81c04ab 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -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++;
 
@@ -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++;
    }
@@ -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++;
       }
@@ -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++;
    }


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.