Home
last modified time | relevance | path

Searched hist:bd5d7ce9 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/tty/
H A Dtty_ldisc.cbd5d7ce9 Tue Dec 18 08:48:50 CST 2012 Ivo Sieben <meltedpianoman@gmail.com> 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 <meltedpianoman@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
bd5d7ce9 Tue Dec 18 08:48:50 CST 2012 Ivo Sieben <meltedpianoman@gmail.com> 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 <meltedpianoman@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>