Ivo Sieben 98001214c0 tty: Use raw spin lock to protect the TTY read section
The "normal" spin lock that guards the N_TTY line discipline read section
is replaced by a raw spin lock.

On a PREEMP_RT system this prevents unwanted scheduling overhead when data is
read at the same time as data is being received: while RX IRQ threaded handling
is busy a TTY read call is performed from a RT priority > threaded IRQ priority.
The read call tries to take the read section spin lock (held by the threaded
IRQ) which blocks and causes a context switch to/from the threaded IRQ handler
until the spin lock is unlocked.

Signed-off-by: Ivo Sieben <meltedpianoman@gmail.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-04 15:05:04 -08:00
..
2013-01-23 20:30:52 -08:00
2013-01-25 13:27:36 -08:00
2013-01-14 09:08:38 -08:00
2013-01-25 13:27:36 -08:00
2013-01-25 13:27:36 -08:00
2013-01-25 13:27:36 -08:00
2013-01-25 13:27:36 -08:00
2013-01-22 16:36:23 -08:00
2012-12-12 11:45:16 -08:00
2013-01-08 18:53:56 -08:00
2013-01-08 18:53:56 -08:00
2012-12-19 08:19:07 -08:00
2012-12-11 13:13:55 -08:00
2013-01-25 13:27:36 -08:00
2013-01-25 13:27:36 -08:00
2012-12-12 12:05:15 -08:00
2013-01-25 13:27:36 -08:00
2013-01-15 10:45:26 -07:00
2013-01-18 12:02:52 -08:00