Re: [PATCH] linux: Fix CPU usage bug in console fd flushing

2010-12-03 Thread Daniel Stone
51d63e6b2e8ac Mon Sep 17 00:00:00 2001 > >  TV> From: Adam Jackson > >  TV> Date: Wed, 25 Aug 2010 11:06:38 -0400 > >  TV> Subject: [PATCH] linux: Fix CPU usage bug in console fd flushing > > > >  TV> If the vt gets a vhangup from under us, then the tty

Re: [PATCH] linux: Fix CPU usage bug in console fd flushing

2010-12-02 Thread Thierry Vignaud
ate: Wed, 25 Aug 2010 11:06:38 -0400 >  TV> Subject: [PATCH] linux: Fix CPU usage bug in console fd flushing > >  TV> If the vt gets a vhangup from under us, then the tty will appear ready >  TV> in select(), but trying to tcflush() it will return -EIO, so we'll sp

Re: [PATCH] linux: Fix CPU usage bug in console fd flushing

2010-11-14 Thread Mikhail Gusarov
Twas brillig at 16:59:54 14.11.2010 UTC+01 when thierry.vign...@gmail.com did gyre and gimble: TV> From 20e32420a2f75b58603eb1578c151d63e6b2e8ac Mon Sep 17 00:00:00 2001 TV> From: Adam Jackson TV> Date: Wed, 25 Aug 2010 11:06:38 -0400 TV> Subject: [PATCH] linux: Fix CPU

[PATCH] linux: Fix CPU usage bug in console fd flushing

2010-11-14 Thread Thierry Vignaud
Hi The following patch came from Redhat and attempt to fix eating 100% CPU while swtiching to console See you From 20e32420a2f75b58603eb1578c151d63e6b2e8ac Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 25 Aug 2010 11:06:38 -0400 Subject: [PATCH] linux: Fix CPU usage bug in console fd

Re: [PATCH] linux: Fix CPU usage bug in console fd flushing

2010-08-25 Thread Julien Cristau
On Wed, Aug 25, 2010 at 11:09:19 -0400, Adam Jackson wrote: > If the vt gets a vhangup from under us, then the tty will appear ready > in select(), but trying to tcflush() it will return -EIO, so we'll spin > around at 100% CPU for no reason. Notice this condition and unregister > the handler if

[PATCH] linux: Fix CPU usage bug in console fd flushing

2010-08-25 Thread Adam Jackson
If the vt gets a vhangup from under us, then the tty will appear ready in select(), but trying to tcflush() it will return -EIO, so we'll spin around at 100% CPU for no reason. Notice this condition and unregister the handler if it happens. Signed-off-by: Adam Jackson --- hw/xfree86/os-support/