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
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
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
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
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
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/