On 2015/07/11 10:27, Waiman Long wrote:
On 07/10/2015 08:32 PM, Masami Hiramatsu wrote:Ah, OK. That comes from locking selftest. In that case, do we really
On 2015/07/10 23:28, Peter Zijlstra wrote:It shouldn't randomly happen. The message should be printed at the first
On Fri, Jul 10, 2015 at 03:57:46PM +0200, Ingo Molnar wrote:Hmm, yes, this still noisy...
* Peter Zijlstra<peterz@xxxxxxxxxxxxx> wrote:So that would be a yes..
Do we want to make double unlock non-fatal unconditionally?No, just don't BUG() out, don't crash the system - generate a warning?
Something like so then? Won't this generate a splat on that locking self
test then? And upset people?
Can't we avoid double-unlock completely? it seems that this warning can
happen randomly, which means pv-spinlock randomly broken, doesn't it?
instance of double-unlock. If that is not case, there may be some
problem in the code.
need the warning while selftest, since we know it always fails ?
Anyway, I have an alternative fix that should better capture the problem:Do we need both Peter's BUG() removing patch and this?