[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161179501091.14572.11655971573513336606.git-patchwork-notify@kernel.org>
Date: Thu, 28 Jan 2021 00:50:10 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: zhudi <zhudi21@...wei.com>
Cc: davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org,
rose.chen@...wei.com
Subject: Re: [PATCH] pktgen: fix misuse of BUG_ON() in pktgen_thread_worker()
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Mon, 25 Jan 2021 20:42:29 +0800 you wrote:
> From: Di Zhu <zhudi21@...wei.com>
>
> pktgen create threads for all online cpus and bond these threads to
> relevant cpu repecivtily. when this thread firstly be woken up, it
> will compare cpu currently running with the cpu specified at the time
> of creation and if the two cpus are not equal, BUG_ON() will take effect
> causing panic on the system.
> Notice that these threads could be migrated to other cpus before start
> running because of the cpu hotplug after these threads have created. so the
> BUG_ON() used here seems unreasonable and we can replace it with WARN_ON()
> to just printf a warning other than panic the system.
>
> [...]
Here is the summary with links:
- pktgen: fix misuse of BUG_ON() in pktgen_thread_worker()
https://git.kernel.org/netdev/net-next/c/275b1e88cabb
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