diff options
author | Ivo Sieben <meltedpianoman@gmail.com> | 2012-10-17 14:03:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-24 11:37:02 -0700 |
commit | c97399418a25b18943c9910fb28e0ee5ecc3c316 (patch) | |
tree | 0c4d711eae09998e4b4fe4b7efe6036d0cdf896c /drivers/tty/serial/pxa.c | |
parent | TTY: hvcs: fix missing unlock on error in hvcs_initialize() (diff) | |
download | linux-dev-c97399418a25b18943c9910fb28e0ee5ecc3c316.tar.xz linux-dev-c97399418a25b18943c9910fb28e0ee5ecc3c316.zip |
tty: Use raw spin lock to protect TTY ldisc administration
The global "normal" spin lock that guards the line discipline
administration is replaced by a raw spin lock. On a PREEMPT_RT system this
prevents unwanted scheduling overhead around the line discipline administration.
On a 200 MHz AT91SAM9261 processor setup this fixes about 100us of scheduling
overhead on a TTY read or write call.
Signed-off-by: Ivo Sieben <meltedpianoman@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/pxa.c')
0 files changed, 0 insertions, 0 deletions