[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <520f0cf10908130435t2aba0d23mb1465daef3a4a997@mail.gmail.com>
Date: Thu, 13 Aug 2009 13:35:50 +0200
From: John Kacur <jkacur@...il.com>
To: Sven-Thorsten Dietrich <sdietrich@...ell.com>
Cc: linux-rt-users <linux-rt-users@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH][RT] pty low latency
On Thu, Aug 13, 2009 at 6:42 AM, Sven-Thorsten
Dietrich<sdietrich@...ell.com> wrote:
>
> Subject: add hunks dropped in rt 2.6.31-rc5-rt1.1 forward port
> From: patch-2.6.31-rc4-rt1
> Signed-off-by: Sven-Thorsten Dietrich <sdietrich@...e.de>
> --- a/drivers/char/pty.c
> +++ b/drivers/char/pty.c
> @@ -52,6 +52,7 @@ static void pty_close(struct tty_struct *tty, struct file *filp)
> return;
> tty->link->packet = 0;
> set_bit(TTY_OTHER_CLOSED, &tty->link->flags);
> + tty_flip_buffer_push(tty->link);
> wake_up_interruptible(&tty->link->read_wait);
> wake_up_interruptible(&tty->link->write_wait);
> if (tty->driver->subtype == PTY_TYPE_MASTER) {
> @@ -207,6 +208,7 @@ static int pty_open(struct tty_struct *tty, struct file *filp)
> clear_bit(TTY_OTHER_CLOSED, &tty->link->flags);
> set_bit(TTY_THROTTLED, &tty->flags);
> retval = 0;
> + tty->low_latency = 1;
> out:
> return retval;
> }
>
Thank You - I applied this.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists