/[qemu]
ViewVC logotype

Revision 5451


Jump to revision: Previous Next
Author: aliguori
Date: Wed Oct 8 19:50:24 2008 UTC (15 years, 1 month ago)
Changed paths: 9
Log Message:
Fix IO performance regression in sparc

Replace signalfd with signal handler/pipe.  There is no way to interrupt
the CPU execution loop when a file descriptor becomes readable.  This
results in a large performance regression in sparc emulation during
bootup.
   
This patch switches us to signal handler/pipe which was originally
suggested by Ian Jackson.  The signal handler lets us interrupt the
CPU emulation loop while the write to a pipe lets us avoid the
select/signal race condition.
    
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


Changed paths:

Path Details
Directorytrunk/Makefile modified , text changed
Directorytrunk/Makefile.target modified , text changed
Directorytrunk/block-raw-posix.c modified , text changed
Directorytrunk/compatfd.c deleted
Directorytrunk/compatfd.h deleted
Directorytrunk/configure modified , text changed
Directorytrunk/qemu-common.h modified , text changed
Directorytrunk/qemu-tool.c modified , text changed
Directorytrunk/vl.c modified , text changed

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.5