[lkml]   [2000]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: PATCH pc_keyb and q40_keyb cleanup
On Mon, Oct 16, 2000 at 09:31:42PM -0400, Jeff Garzik wrote:
> I understand SA_INTERRUPT, my question in the previous e-mail was more
> basic: keyboard_interrupt calls handle_kbd_event with local interrupts
> disabled. [..]

Woops sorry, I misunderstood your question.

>[..] Why are local interrupts disabled?

To avoid to deadlock on the kbd_controller_lock in SMP or to race in UP.

Both irq handler and normal kernel context (open/close) will play with the keyb
controller at around address 0x6x and accesses are serialized via the

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:45    [W:0.060 / U:1.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site