[alternative-merged] epoll-use-proper-wake_up-variant-in-ep_poll_callback.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: epoll: use proper wake_up variant in ep_poll_callback
has been removed from the -mm tree.  Its filename was
     epoll-use-proper-wake_up-variant-in-ep_poll_callback.patch

This patch was dropped because an alternative patch was merged

------------------------------------------------------
From: Christoph Hellwig <hch@xxxxxx>
Subject: epoll: use proper wake_up variant in ep_poll_callback

We do not hold ep->wq->lock, so we should not use wake_up_locked on it.

Link: http://lkml.kernel.org/r/20171130142037.19339-3-hch@xxxxxx
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/eventpoll.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/eventpoll.c~epoll-use-proper-wake_up-variant-in-ep_poll_callback fs/eventpoll.c
--- a/fs/eventpoll.c~epoll-use-proper-wake_up-variant-in-ep_poll_callback
+++ a/fs/eventpoll.c
@@ -1190,7 +1190,7 @@ static int ep_poll_callback(wait_queue_e
 				break;
 			}
 		}
-		wake_up_locked(&ep->wq);
+		wake_up(&ep->wq);
 	}
 	if (waitqueue_active(&ep->poll_wait))
 		pwake++;
_

Patches currently in -mm which might be from hch@xxxxxx are

sched-wait-assert-the-wait_queue_head-lock-is-held-in-__wake_up_common.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux