[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1807060747280.3506@hadrien>
Date: Fri, 6 Jul 2018 07:49:18 +0200 (CEST)
From: Julia Lawall <julia.lawall@...6.fr>
To: Dan Carpenter <dan.carpenter@...cle.com>
cc: Joe Perches <joe@...ches.com>,
Prakruthi Deepak Heragu <pheragu@...eaurora.org>,
apw@...onical.com, Julia Lawall <julia.lawall@...6.fr>,
Dan Carpenter <error27@...il.com>,
linux-kernel@...r.kernel.org, ckadabi@...eaurora.org,
tsoni@...eaurora.org, bryanh@...eaurora.org,
Israel Schlesinger <israels@...eaurora.org>,
Stepan Moskovchenko <stepanm@...eaurora.org>,
baijiaju1990@...il.com
Subject: Re: [PATCH] checkpatch: Add warnings for use of mdelay()
On Thu, 5 Jul 2018, Dan Carpenter wrote:
> Neither Smatch nor Coccinelle do a good job tracking when you're in
> atomic context. I've wanted to add this to Smatch but even then it
> would be to warn that "We're holding a spinlock so we can't sleep".
> It's trickier to say for sure when you're not holding a lock...
Jia-Ju Bai is working on this. The tool is available on github. It's
still being improved, though, so perhaps it's not yet ready for eg 0-day
inclusion. He can give more details.
julia
Powered by blists - more mailing lists