aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIvo Sieben <[email protected]>2012-12-18 15:48:50 +0100
committerGreg Kroah-Hartman <[email protected]>2013-01-15 23:02:22 -0800
commitbd5d7ce9afdd0cddc5ab65e20d1134ccad824418 (patch)
tree2bfffe6ab96beedc8410c70a32334951cc14ecac /tools/perf/scripts/python
parentb342dd512f7af0e0e14e29c3e1f863150cfc46ff (diff)
tty: Only wakeup the line discipline idle queue when queue is active
Before waking up the tty line discipline idle queue first check if the queue is active (non empty). This prevents unnecessary entering the critical section in the wake_up() function and therefore avoid needless scheduling overhead on a PREEMPT_RT system caused by two processes being in the same critical section. Signed-off-by: Ivo Sieben <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions