From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5BAFA27AC5A; Fri, 5 Sep 2025 13:52:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757080348; cv=none; b=A+9sRqAxhJo35LoGlU2ZqjEO1EuDbiESoUFwLq9EG2i1qoM1nMpTMBYTjc0r7oR3+MXZdhmdHqlK8xtkb5hW8DBXjjuQfBK0PY+zZbINl8YVa9KzVEI6yX5WlJQ8pnZ4JrZlDJxiEPFI8edM9PLYjfGui1DZvV2GLc3/xM5xbjQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757080348; c=relaxed/simple; bh=dJfF0Rw0L4xSQFtUq3anCWc2bDQRv8Coe7/OfF8Ir/I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QvxMz8pbMZcRKkqyU0cv4K/bn4OoFdBsmDRZpvmjDdde/crvwcNdoFLGLu1UTh7dMSEqlISkLK6NbbPy/4Szl7vGbk42row1EUn0Cs4KBl4P6irqQs6Nmi74oYO+J43EGZb8WanGErreTDR8ydHrjqJp7SnbbYX2b56N1V/qVeU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Bsp2NMjD; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Bsp2NMjD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBE52C4CEF1; Fri, 5 Sep 2025 13:52:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1757080347; bh=dJfF0Rw0L4xSQFtUq3anCWc2bDQRv8Coe7/OfF8Ir/I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Bsp2NMjDEx+QYI95iBU62+tuqV+aboQL/7r+IezDpFXfH0YoWm9FLYiFiv/9RzKYe rRr/VPIa9mh3/DHl8ca3DxU7+a+3gIjcAOBQ7cXwFeIDGgu1MmWHpa/AK/O9rXTzjW knK1tkiRc+X8ddpFL0yehZTsH9G00Uw6ZTOwr9gLSEmvPbQ8kx+yH2KOFqjk1HxApE fBC0GF6IxYnRAXSndRP1tpI2ZMam/sLggsCIpZAdPB6zBf3vHrii5K0ZzmvZGS1VOy lQ1DaihOMRkjuH2xiCBKMMWNOyF8RqUk6IYCTSmK96hfvjzpqF0RwoDruVGF82Rnx7 nvYVN9BGCk1Gw== From: Christian Brauner To: Nam Cao Cc: Christian Brauner , Linus Torvalds , Xi Ruoyao , Frederic Weisbecker , Valentin Schneider , Alexander Viro , Jan Kara , Sebastian Andrzej Siewior , John Ogness , K Prateek Nayak , Clark Williams , Steven Rostedt , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rt-devel@lists.linux.dev, linux-rt-users@vger.kernel.org, Joe Damato , Martin Karsten , Jens Axboe Subject: Re: [PATCH v4 0/1] eventpoll: Fix priority inversion problem Date: Fri, 5 Sep 2025 15:52:14 +0200 Message-ID: <20250905-weltoffen-eintopf-551fba944be9@brauner> X-Mailer: git-send-email 2.47.2 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=1303; i=brauner@kernel.org; h=from:subject:message-id; bh=dJfF0Rw0L4xSQFtUq3anCWc2bDQRv8Coe7/OfF8Ir/I=; b=owGbwMvMwCU28Zj0gdSKO4sYT6slMWTsei3im99+fsm+Ceukai8q/BXf6NbE/oFj1qJp63I1d 9yMWe9b3VHKwiDGxSArpsji0G4SLrecp2KzUaYGzBxWJpAhDFycAjAR8W8M/8McY7duPLDX1H3t ZfV8tvhZLyd+6X84xWbJr66ALbfS7Hcy/OHPe+Xx0P1s7LcHFSd2lix2vC71Qtnypcvx1pU8ujN nJLEAAA== X-Developer-Key: i=brauner@kernel.org; a=openpgp; fpr=4880B8C9BD0E5106FC070F4F7B3C391EFEA93624 Content-Transfer-Encoding: 8bit On Tue, 15 Jul 2025 14:46:33 +0200, Nam Cao wrote: > This v4 is the follow-up to v3 at: > https://lore.kernel.org/linux-fsdevel/20250527090836.1290532-1-namcao@linutronix.de/ > which resolves a priority inversion problem. > > The v3 patch was merged, but then got reverted due to regression. > > The direction of v3 was wrong in the first place. It changed the > eventpoll's event list to be lockless, making the code harder to read. I > stared at the patch again, but still couldn't figure out what the bug is. > > [...] Applied to the vfs-6.18.misc branch of the vfs/vfs.git tree. Patches in the vfs-6.18.misc branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs-6.18.misc [1/1] eventpoll: Replace rwlock with spinlock https://git.kernel.org/vfs/vfs/c/0c43094f8cc9