[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<170368802217.12538.6939830762538253852.git-patchwork-notify@kernel.org>
Date: Wed, 27 Dec 2023 14:40:22 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Kevin Hao <haokexin@...il.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, netdev@...r.kernel.org, rafael@...nel.org, pavel@....cz
Subject: Re: [PATCH v2 net-next] net: pktgen: Use wait_event_freezable_timeout()
for freezable kthread
Hello:
This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@...emloft.net>:
On Wed, 20 Dec 2023 07:37:57 +0800 you wrote:
> A freezable kernel thread can enter frozen state during freezing by
> either calling try_to_freeze() or using wait_event_freezable() and its
> variants. So for the following snippet of code in a kernel thread loop:
> wait_event_interruptible_timeout();
> try_to_freeze();
>
> We can change it to a simple wait_event_freezable_timeout() and then
> eliminate a function call.
>
> [...]
Here is the summary with links:
- [v2,net-next] net: pktgen: Use wait_event_freezable_timeout() for freezable kthread
https://git.kernel.org/netdev/net-next/c/3fb65f6bc7dc
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists