Re: [PATCH] tty: keyboard.c: Remove locking from vt_get_leds.

From: Alan Cox
Date: Fri Jun 22 2012 - 09:31:06 EST


On Fri, 22 Jun 2012 08:16:34 -0500
Christopher Brannon <chris@xxxxxxxxxxxxxxxx> wrote:

> There are three call sites for this function, and all three
> are called within a keyboard handler.
> kbd_event_lock is already held within keyboard handlers,
> so attempting to lock it in vt_get_leds causes deadlock.
>
> Signed-off-by: Christopher Brannon <chris@xxxxxxxxxxxxxxxx>

Acked-by: Alan Cox <alan@xxxxxxxxxxxxxxx>
--
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/