Re: [PATCH] tty: add lockdep annotations

From: Eric Dumazet
Date: Thu May 31 2012 - 07:59:38 EST


On Thu, 2012-05-31 at 13:45 +0200, Jiri Kosina wrote:
> On Thu, 31 May 2012, Eric Dumazet wrote:
>
> > From: Eric Dumazet <edumazet@xxxxxxxxxx>
> >
> > tty_lock_pair() do the right thing to avoid deadlocks, but should
> > instruct LOCKDEP of this to avoid a splat.
>
> I have submitted very similar patch to Greg/Alan already 3 days ago[1],
> but have been told that this is already fixed. Apparently it wasn't?
>
> [1] https://lkml.org/lkml/2012/5/28/226

I saw that right now.

Not sure your patch is the right fix with hard coded 1 and 2 values ?

0 and 1 should be enough.




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/