Re: [patch] CFS scheduler, -v18

From: Thomas Dickey
Date: Thu Jul 05 2007 - 09:58:42 EST


On Tue, Jul 03, 2007 at 10:10:05AM +0200, Keith Packard wrote:
> On Tue, 2007-07-03 at 09:22 +0200, Ingo Molnar wrote:
>
> > which allows xterm-spam (attached) to easily flood the xterm (without
> > any scrolling that would act as a throttle) and the xterm to flood Xorg.

...deleting the offhand remarks

...here's a little content:

> And, as the kernel will not buffer more than 4095 bytes from a pty,
> there isn't any way it will ever read 4096 bytes.

The sched_yield() call was added to address problems in an earlier
2.6.x kernel (and the report then stated that it could read more than
4096 because it would have to perform several reads to keep up with
a burst of output).

...deleting the other offhand remarks


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Attachment: pgp00000.pgp
Description: PGP signature