ia64/xen-unstable

changeset 17474:774e38a40d01

ioemu: drop reschedule of handle_buffered_io on I/O reqs

Rescheduling the call to handle_buffered_io costs the system call to
qemu_get_clock(), which is very expensive considering the the latency
we would like to achieve for I/O reqs, so we should avoid it.

That means that handle_buffered_io may be called as often as every
0.1s, but that's not so costly.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Apr 16 10:07:49 2008 +0100 (2008-04-16)
parents 6cd0d4d1baa3
children 06242949ff56
files tools/ioemu/target-i386-dm/helper2.c
line diff
     1.1 --- a/tools/ioemu/target-i386-dm/helper2.c	Wed Apr 16 10:06:34 2008 +0100
     1.2 +++ b/tools/ioemu/target-i386-dm/helper2.c	Wed Apr 16 10:07:49 2008 +0100
     1.3 @@ -482,7 +482,7 @@ void cpu_handle_ioreq(void *opaque)
     1.4      CPUState *env = opaque;
     1.5      ioreq_t *req = cpu_get_ioreq();
     1.6  
     1.7 -    handle_buffered_io(env);
     1.8 +    __handle_buffered_iopage(env);
     1.9      if (req) {
    1.10          __handle_ioreq(env, req);
    1.11