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

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

Advertisement

Kernel v2.6.24.7 /fs/eventpoll.c

Filename:/fs/eventpoll.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.6.24.6  2.6.24.5  2.6.24.4  2.6.24.2  2.6.24-git22  2.6.24-git21 
(Following) 2.6.26-rc2  2.6.26-rc3  2.6.26-rc4  2.6.26-rc5  2.6.26-rc6  2.6.26-rc7 

Location
[  2.6.24.7
  [  fs
     o  eventpoll.c

Patch

diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index 34f68f3..0a98389 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -353,7 +353,7 @@ static void ep_poll_safewake(struct poll_safewake *psw, wait_queue_head_t *wq)
    spin_unlock_irqrestore(&psw->lock, flags);
 
    /* Do really wake up now */
-   wake_up(wq);
+   wake_up_nested(wq, 1 + wake_nests);
 
    /* Remove the current task from the list */
    spin_lock_irqsave(&psw->lock, flags);


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