lkml.org 
[lkml]   [2012]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] tty: keyboard.c: Remove locking from vt_get_leds.
On Fri, 22 Jun 2012 08:16:34 -0500
Christopher Brannon <chris@the-brannons.com> 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@the-brannons.com>

Acked-by: Alan Cox <alan@linux.intel.com>


\
 
 \ /
  Last update: 2012-06-22 16:21    [W:0.052 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site