summaryrefslogtreecommitdiffstats
path: root/fs/devpts
diff options
context:
space:
mode:
authorIvo Sieben2012-09-27 14:02:05 +0200
committerGreg Kroah-Hartman2012-10-23 01:47:51 +0200
commitcee4ad1ed90a0959fc29f9d30a2526e5e9522cfa (patch)
tree32b33be64fb490a9f7d3c704dea0a44ea3138ca6 /fs/devpts
parentconsole: implement lockdep support for console_lock (diff)
downloadkernel-qcow2-linux-cee4ad1ed90a0959fc29f9d30a2526e5e9522cfa.tar.gz
kernel-qcow2-linux-cee4ad1ed90a0959fc29f9d30a2526e5e9522cfa.tar.xz
kernel-qcow2-linux-cee4ad1ed90a0959fc29f9d30a2526e5e9522cfa.zip
tty: prevent unnecessary work queue lock checking on flip buffer copy
When low_latency flag is set the TTY receive flip buffer is copied to the line discipline directly instead of using a work queue in the background. Therefor only in case a workqueue is actually used for copying data to the line discipline we'll have to flush the workqueue. This prevents unnecessary spin lock/unlock on the workqueue spin lock that can cause additional scheduling overhead on a PREEMPT_RT system. On a 200 MHz AT91SAM9261 processor setup this fixes about 100us of scheduling overhead on the TTY read call. Signed-off-by: Ivo Sieben <meltedpianoman@gmail.com> Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/devpts')
0 files changed, 0 insertions, 0 deletions