[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161713560887.2790.12767006562896839365.git-patchwork-notify@kernel.org>
Date: Tue, 30 Mar 2021 20:20:08 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Eddie James <eajames@...ux.ibm.com>
Cc: sam@...dozajonas.com, davem@...emloft.net, kuba@...nel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
miltonm@...ibm.com
Subject: Re: [PATCH] net/ncsi: Avoid channel_monitor hrtimer deadlock
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Mon, 29 Mar 2021 10:20:39 -0500 you wrote:
> From: Milton Miller <miltonm@...ibm.com>
>
> Calling ncsi_stop_channel_monitor from channel_monitor is a guaranteed
> deadlock on SMP because stop calls del_timer_sync on the timer that
> inoked channel_monitor as its timer function.
>
> Recognise the inherent race of marking the monitor disabled before
> deleting the timer by just returning if enable was cleared. After
> a timeout (the default case -- reset to START when response received)
> just mark the monitor.enabled false.
>
> [...]
Here is the summary with links:
- net/ncsi: Avoid channel_monitor hrtimer deadlock
https://git.kernel.org/netdev/net/c/03cb4d05b4ea
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