Return-Path: Received: from bombadil.infradead.org ([65.50.211.133]:39513 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750968AbdK3OUn (ORCPT ); Thu, 30 Nov 2017 09:20:43 -0500 From: Christoph Hellwig To: Ingo Molnar , eter Zijlstra Cc: Andrew Morton , Al Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: waitqueue lockdep annotation Date: Thu, 30 Nov 2017 06:20:35 -0800 Message-Id: <20171130142037.19339-1-hch@lst.de> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hi all, this series adds a strategic lockdep_assert_held to __wake_up_common to ensure callers really do hold the wait_queue_head lock when calling the unlocked wake_up variants. It turns out epoll did not do this for a fairly common path (hit all the time by systemd during bootup), so the second patch fixed this instance as well.