diff options
author | Ivo Sieben <meltedpianoman@gmail.com> | 2012-10-17 12:03:14 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-24 18:37:02 (GMT) |
commit | c97399418a25b18943c9910fb28e0ee5ecc3c316 (patch) | |
tree | 0c4d711eae09998e4b4fe4b7efe6036d0cdf896c /lib/int_sqrt.c | |
parent | ad3d1e5fc94e1d617298cf9b8fb522e2d219521a (diff) | |
download | linux-fsl-qoriq-c97399418a25b18943c9910fb28e0ee5ecc3c316.tar.xz |
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 'lib/int_sqrt.c')
0 files changed, 0 insertions, 0 deletions