public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH][RT] pty low latency
@ 2009-08-14  9:23 Michael Guntsche
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Guntsche @ 2009-08-14  9:23 UTC (permalink / raw)
  To: linux-kernel


Forgot CC'ing linux-kernel

-------- Original Message --------
Subject: Re: [PATCH][RT] pty low latency
Date: Fri, 14 Aug 2009 07:19:14 +0200
From: Michael Guntsche <mike@it-loops.com>
To: <sdietrich@novell.com>

Good morning,

I think this patch will break applications like pptp again. Please take a
look at

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e043e42bdb66885b3ac10d27a01ccb9972e2b0a3

I am not sure if there is a differnce with the RT patches. But I can assure
you that I get a kernel panic after 2 minutes of uptime with this patch
reverted in the vanilla kernel.

Kind regards,
Michael

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [PATCH][RT] pty low latency
@ 2009-08-13  4:42 Sven-Thorsten Dietrich
  2009-08-13 11:35 ` John Kacur
  0 siblings, 1 reply; 3+ messages in thread
From: Sven-Thorsten Dietrich @ 2009-08-13  4:42 UTC (permalink / raw)
  To: linux-rt-users; +Cc: LKML


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;
 }



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-14  9:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-14  9:23 [PATCH][RT] pty low latency Michael Guntsche
  -- strict thread matches above, loose matches on Subject: below --
2009-08-13  4:42 Sven-Thorsten Dietrich
2009-08-13 11:35 ` John Kacur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox