qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: Fam Zheng <famz@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	qemu-devel@nongnu.org, Stefan Hajnoczi <stefanha@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v4 0/7] aio: Support epoll by introducing qemu_poll abstraction
Date: Thu, 30 Apr 2015 16:27:21 +0200	[thread overview]
Message-ID: <20150430142721.GD25594@noname.redhat.com> (raw)
In-Reply-To: <1430277871-26761-1-git-send-email-famz@redhat.com>

Am 29.04.2015 um 05:24 hat Fam Zheng geschrieben:
> v4: Rebase to 2.3 and rerun tests.  timerfd+epoll shows clear improvement over
>     current master when the virtio-console device attaches more fds to the main
>     loop:
> 
>     syscall         high # of fd      low # of fd
>     -------------------------------------------------
>     qemu.git(ppoll) 24                83
>     ppoll+epoll     49                82
>     timerfd+epoll   49                91
>     glib            20                82
> 
>     (In high # of fd case, 3 activated but idle virtio-console devices are
>     attached, which will add us hundereds of fds to poll)
> 
>     Although a new epoll_pwait1 syscall is still being worked on [1], the QEMU
>     part to make use of that (if any) will base on this, so let's merge it
>     first.
>     
>     [1]: http://www.spinics.net/lists/linux-api/msg08216.html

Doesn't even build with mingw:

    /mnt/qemu/main-loop.c: In function 'os_host_main_loop_wait':
    /mnt/qemu/main-loop.c:463:5: error: expected ';' before 'nevents'
         nevents = qemu_poll(qpoll, poll_timeout_ns);
         ^
    /mnt/qemu/main-loop.c:467:9: error: 'r' undeclared (first use in this function)
             r = qemu_poll_get_events(qpoll, poll_events, nevents);
             ^
    /mnt/qemu/main-loop.c:467:9: note: each undeclared identifier is reported only once for each function it appears in
    /mnt/qemu/main-loop.c:411:20: warning: unused variable 'events' [-Wunused-variable]
         QEMUPollEvent *events;
                        ^
    make: *** [main-loop.o] Fehler 1

Before you fix that and resend another version as "it compiles, let's
ship it": My expectation for patches that touch platform specific code
isn't only a build test, but that your actually ran it.

Kevin

      parent reply	other threads:[~2015-04-30 14:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-29  3:24 [Qemu-devel] [PATCH v4 0/7] aio: Support epoll by introducing qemu_poll abstraction Fam Zheng
2015-04-29  3:24 ` [Qemu-devel] [PATCH v4 1/7] poll: Introduce QEMU Poll API Fam Zheng
2015-04-29  3:24 ` [Qemu-devel] [PATCH v4 2/7] posix-aio: Use QEMU poll interface Fam Zheng
2015-04-29  3:24 ` [Qemu-devel] [PATCH v4 3/7] poll: Add epoll implementation for qemu_poll Fam Zheng
2015-04-29  3:24 ` [Qemu-devel] [PATCH v4 4/7] main-loop: Replace qemu_poll_ns with qemu_poll Fam Zheng
2015-04-29  3:24 ` [Qemu-devel] [PATCH v4 5/7] tests: Add test case for qemu_poll Fam Zheng
2015-04-29  3:24 ` [Qemu-devel] [PATCH v4 6/7] poll-glib: Support ppoll Fam Zheng
2015-04-29  3:24 ` [Qemu-devel] [PATCH v4 7/7] poll-linux: Add timerfd support Fam Zheng
2015-04-29 10:06 ` [Qemu-devel] [PATCH v4 0/7] aio: Support epoll by introducing qemu_poll abstraction Stefan Hajnoczi
2015-04-30 14:27 ` Kevin Wolf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150430142721.GD25594@noname.redhat.com \
    --to=kwolf@redhat.com \
    --cc=famz@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).