mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: John Kacur <jkacur@gmail.com>
To: Sven-Thorsten Dietrich <sdietrich@novell.com>
Cc: linux-rt-users <linux-rt-users@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH][RT] pty low latency
Date: Thu, 13 Aug 2009 13:35:50 +0200	[thread overview]
Message-ID: <520f0cf10908130435t2aba0d23mb1465daef3a4a997@mail.gmail.com> (raw)
In-Reply-To: <1250138537.15796.18.camel@quadrophenia.thebigcorporation.com>

On Thu, Aug 13, 2009 at 6:42 AM, Sven-Thorsten
Dietrich<sdietrich@novell.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@suse.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.

  reply	other threads:[~2009-08-13 11:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-13  4:42 Sven-Thorsten Dietrich
2009-08-13 11:35 ` John Kacur [this message]
2009-08-14  9:23 Michael Guntsche

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=520f0cf10908130435t2aba0d23mb1465daef3a4a997@mail.gmail.com \
    --to=jkacur@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=sdietrich@novell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome