lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 30 Nov 2017 06:20:37 -0800 From: Christoph Hellwig <hch@....de> To: Ingo Molnar <mingo@...hat.com>, eter Zijlstra <peterz@...radead.org> Cc: Andrew Morton <akpm@...ux-foundation.org>, Al Viro <viro@...iv.linux.org.uk>, linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org Subject: [PATCH 2/2] 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. Signed-off-by: Christoph Hellwig <hch@....de> --- fs/eventpoll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/eventpoll.c b/fs/eventpoll.c index afd548ebc328..eaaa39616232 100644 --- a/fs/eventpoll.c +++ b/fs/eventpoll.c @@ -1190,7 +1190,7 @@ static int ep_poll_callback(wait_queue_entry_t *wait, unsigned mode, int sync, v break; } } - wake_up_locked(&ep->wq); + wake_up(&ep->wq); } if (waitqueue_active(&ep->poll_wait)) pwake++; -- 2.14.2
Powered by blists - more mailing lists