Article View: linux.kernel.netdev
Article #15291Re: [PATCH net v2] ptp: Report clock removal to poll waiters
From: patchwork-bot+netdevbpf
Date: Thu, 12 Nov 2026 16:40
Date: Thu, 12 Nov 2026 16:40
28 lines
8907 bytes
8907 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Sun, 8 Nov 2026 08:49:29 +0200 you wrote:
> ptp_clock_unregister() marks the clock defunct and wakes timestamp
> waiters before posix_clock_unregister() marks it a zombie. A poll
> waiter can consume the removal wakeup while the event queue is empty,
> return no events, and remain blocked until timeout after device
> removal.
>
> Using netdevsim's mock PTP clock in an x86_64 QEMU/KVM guest,
> the unpatched kernel missed all eight epoll removal notifications.
> The four poll waits returned POLLERR only at timeout. With this
> patch, all 12 poll and epoll waits reported clock removal promptly.
>
> [...]
Here is the summary with links:
- [net,v2] ptp: Report clock removal to poll waiters
https://git.kernel.org/netdev/net-next/c/92be25a17ed6
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179450160478.52552.8310562765355263034.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362022-linux-kernel-netdev=dewy.ruReferences:
<20261108064928.1931917-2-thnkslprpt@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362022-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v2] ptp: Report clock removal to poll waiters Date: Thu, 12 Nov 2026 16:40:04 +0000 Organization: Usenet Network Message-ID: <179450160478.52552.8310562765355263034.git-patchwork-notify@kernel.org> References: <20261108064928.1931917-2-thnkslprpt@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1128238"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:c9WSJ+ru2urNPtF2jtnt5i6xSqA= sha256:FBp2tfm3OIiFkGcbGTsUpG3WBUf73UK4Xsmte117v9I= sha1:m750fdAzNBM3rny8+A+BARxbXdo= sha256:jvGGjvaM2BHc6sNgdWRgQlGPL6Wb+W+BjRvqAkVwOCY= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id BD8431142F8; Thu, 12 Nov 2026 19:47:24 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id huqbK8n2lv_H; Thu, 12 Nov 2026 19:47:20 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-362022-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 72AE01142F6; Thu, 12 Nov 2026 19:47:12 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 060663FA88; Thu, 12 Nov 2026 16:40:49 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794501607; b=sBjJHTJqjdki2Eco/6yZlnB+H3+J/FVZPdXScD95ZOxn8CRJX200Y6Xl9rFsmqB9i7z3 vRKth8yBR+LA+WAONxS6Kz5KwZF1hECgJxosJckA4zULT30qW8tM5vg0ZeWCZJEHkAgWR /fYvhkJ62I/dfQ00cycW02ZCW/jp5YxNMZdAID6h+hABnCnwcgG5pcjfy9hdIZ/l4a6TW FWnIRwlkr8gh15sbaXeFclRMvD4O3xs0Fk2xNzI96TCtTDMsT9PkT6cvBKHuyTdiA3KWX Jdzx6LawXgbShPs116Ch1rYKM9OqJP++B03On3xwRKeAFD9wg8iOrsZ5hTZLbKDWvTw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794501607; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=Lq1TICx3qkA5CbbonbKpcn+aZhZNyYUwzWGq9B9pKXA=; b=5qzsrFB0+FzK6LOSBQy8XwQ21ge4Z6hsIQjMyuVBbppCmqJG38jjotuOOv/GaSr1VokB jkcDvFxfq8aww3t5+/fHRmrU55oznMDBvMl4+IaxHzJ27ZML0FNaVK0MuIDU3jOxyZA/d owqzL+PpcC4f7EdKmBJryS2s6fLn9/TXJZYvXVZDjw85xT39jNlLqXw4fBZLqDTS5UrR/ YTuQ8xKn0vcbxqJW8hWwdxLDxqQLJuizwnD/ABthDVX8XJSoPMfa/hh/8dyWksNfWDrg9 vwKfcNOqFq0gB7CNYy8ZwjTG4C/2bW3qlrr1mMstMVT03RefHcrU8OZaZS/JNS+zZog== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=bMw8zU+l; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1AA1860A2612; Thu, 12 Nov 2026 16:40:07 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=bMw8zU+l X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794501606; b=EEIBpT6Kc7r3o6e5z7S0Fd1YAAj0KuIrrOSSSfxKXu4H8CJkTyDAr8rd8lvLs/tPwvu2 Ni8NBb2QkhN4oWURlQz/6GPFpWbW11fZalrwAXhksryb37yrcjV1tl5WaUdSQKDyru3Wk kBRL1LWwlgg7zNAAqFSSHtK2XE0rQ3AjjA6CsVDO1dfzecR9PDEt3bItK0BIz9TTqpVC7 4fvb7cNoGnIAuRy5N6fwaiR82zKfRJNvE2fknGAyU8UY3mK8Jj/ihyjTnC6OQiQ7r/k2P ZgdukD5VZkwz4/ycjC5wXaaRibsi+TRv5sTaxwkX5fI/LLhEu/j+F26uXyf7Ag2kyMw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794501606; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=Lq1TICx3qkA5CbbonbKpcn+aZhZNyYUwzWGq9B9pKXA=; b=BB4oKkxp3fe5e2pm/0MhSo1cUUvGJ6AuzGESja+uKBkAT5wQx8L0KMZ+ydMpoK5mQpy4 gFhhmpABJ7mayDJBArevWwXTYWR32tk1hYeNEiEfmkH5Gf7A/P2JJ0uDBJ3u5VHBQ/Ykw WI+gasRmy/z12/v5kBEOFT0Dl1L3Cc3miSfTEC6xPfxZp46ZuZoo1zfiSz/9mW8U0QEBM fMOZULi7Zari67Tir+d1TFoQWYypGbp0AC0vnQc8Kno/4x3MXjsUFQoFbW3zYzp4DPFZC EGtrYH0TXZMg84rvHNp4wQ4h8ge/e++Z9thzkCTRolbgGNskUy47sQJ38ibqjZUVxUw== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=bMw8zU+l; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 39318606A8BB; Thu, 12 Nov 2026 16:40:06 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B7F01F000C5; Thu, 12 Nov 2026 16:40:06 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794501606; bh=Lq1TICx3qkA5CbbonbKpcn+aZhZNyYUwzWGq9B9pKXA=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=bMw8zU+lfv80QfDOFILC9ANYGN78R5hhaeTn+xi4eFylm5xofoCPkjTY1EivpN8WO 66CbtsmCJZzzGnjWqXjPO9gGYKZUH+Shmbc/GSAVzj4iwKsOdfOEdeEDQthmK294zc eUf7h0Y0/Cyyefx2W/bwQveTGz5f8l4+BIJmCHbmYLnsiErBjIvs2idt6GK7iko6A7 WjpHlEDZRUfs5gUHeS1USXsuqGakH1/n713XQTHuv/5xN05gBrxVugRuWBd4Qg7bbK k5ZbAWq7xO+a4cdUys3uryda0NXy8o0UzVVm+WAvuA4cCjeWUFk08wNd0jJb0kZxBm yHiMnz8f8VU3g== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id F149D380AA5F; Thu, 12 Nov 2026 16:40:05 +0000 (UTC) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261108064928.1931917-2-thnkslprpt@gmail.com> X-Cc: richardcochran@gmail.com, netdev@vger.kernel.org, horms@kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, arnd@arndb.de, john.stultz@linaro.org, linux-kernel@vger.kernel.org