qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Vivier <laurent@vivier.eu>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: riku.voipio@linaro.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PULL 00/44] linux-user update
Date: Thu, 9 Jun 2016 22:19:25 +0200	[thread overview]
Message-ID: <4ebda94c-7299-6f67-0d96-9c26b749d132@vivier.eu> (raw)
In-Reply-To: <cover.1465392530.git.riku.voipio@linaro.org>



Le 08/06/2016 à 15:29, riku.voipio@linaro.org a écrit :
> From: Riku Voipio <riku.voipio@linaro.org>
> 
> The following changes since commit 76462405809d29bab65a3699686998ba124ab942:
> 
>   Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20160606-1' into staging (2016-06-06 17:02:42 +0100)
> 
> are available in the git repository at:
> 
>   git://git.linaro.org/people/riku.voipio/qemu.git tags/pull-linux-user-20160608
> 
> for you to fetch changes up to 014628a705bdaf31c09915c29e61f4088956564d:
> 
>   linux-user: In fork_end(), remove correct CPUs from CPU list (2016-06-08 12:06:57 +0300)
> 
> ----------------------------------------------------------------
> linux-user pull request for June 2016
> 
> ----------------------------------------------------------------
> 
> Laurent Vivier (5):
>   linux-user: Fix qemu-binfmt-conf.sh to store config across reboot
>   linux-user: add rtnetlink(7) support
>   linux-user: support netlink protocol NETLINK_KOBJECT_UEVENT
>   linux-user: add netlink audit
>   linux-user: check if NETLINK_ROUTE is available
> 
> Peter Maydell (31):
>   linux-user: Factor out handle_signal code from
>     process_pending_signals()
>   linux-user: Move handle_pending_signal() to avoid need for declaration
>   linux-user: Fix stray tab-indent
>   linux-user: Factor out uses of do_sigprocmask() from sigreturn code
>   linux-user: Define macro for size of host kernel sigset_t
>   linux-user: Use safe_syscall for sigsuspend syscalls
>   linux-user: Fix race between multiple signals
>   linux-user: Use safe_syscall for kill, tkill and tgkill syscalls
>   linux-user: Use both si_code and si_signo when converting siginfo_t
>   linux-user: Avoid possible misalignment in target_to_host_siginfo()
>   linux-user: provide frame information in x86-64 safe_syscall
>   linux-user: Fix handling of arm_fadvise64_64 syscall
>   linux-user: Fix NR_fadvise64 and NR_fadvise64_64 for 32-bit guests
>   linux-user: Fix error conversion in 64-bit fadvise syscall
>   linux-user: Use safe_syscall wrapper for readv and writev syscalls
>   linux-user: Use safe_syscall wrapper for connect syscall
>   linux-user: Use safe_syscall wrapper for send* and recv* syscalls
>   linux-user: Use safe_syscall wrapper for msgsnd and msgrcv
>   linux-user: Use safe_syscall wrapper for mq_timedsend and
>     mq_timedreceive
>   linux-user: Use safe_syscall wrapper for flock
>   linux-user: Use safe_syscall wrapper for rt_sigtimedwait syscall
>   linux-user: Use safe_syscall wrapper for sleep syscalls
>   linux-user: Use safe_syscall wrapper for poll and ppoll syscalls
>   linux-user: Use safe_syscall wrapper for epoll_wait syscalls
>   linux-user: Use safe_syscall wrapper for semop
>   linux-user: Use safe_syscall wrapper for accept and accept4 syscalls
>   linux-user: Use safe_syscall wrapper for ioctl
>   linux-user: Correct signedness of target_flock l_start and l_len
>     fields
>   linux-user: Make target_strerror() return 'const char *'
>   linux-user: Special-case ERESTARTSYS in target_strerror()
>   linux-user: In fork_end(), remove correct CPUs from CPU list
> 
> Timothy E Baldwin (8):
>   linux-user: Remove redundant default action check in queue_signal()
>   linux-user: Remove redundant gdb_queuesig()
>   linux-user: Remove real-time signal queuing
>   linux-user: Queue synchronous signals separately
>   linux-user: Block signals during sigaction() handling
>   linux-user: pause() should not pause if signal pending
>   linux-user: Restart exit() if signal pending
>   linux-user: Restart fork() if signals pending
> 
>  configure                                 |   36 +-
>  gdbstub.c                                 |   13 -
>  include/exec/gdbstub.h                    |    1 -
>  linux-user/host/x86_64/safe-syscall.inc.S |   10 +
>  linux-user/main.c                         |    9 +-
>  linux-user/qemu.h                         |   64 +-
>  linux-user/signal.c                       |  567 ++++++++-------
>  linux-user/strace.c                       |    4 +-
>  linux-user/syscall.c                      | 1076 +++++++++++++++++++++++++----
>  linux-user/syscall_defs.h                 |   49 +-
>  scripts/qemu-binfmt-conf.sh               |  389 +++++++++--
>  11 files changed, 1698 insertions(+), 520 deletions(-)
>  mode change 100644 => 100755 scripts/qemu-binfmt-conf.sh
> 

This is a great update!

All the work around the signal management really improves the quality of
QEMU linux-user.

For instance, I thought for years that "dbench" cannot work correctly in
linux-user mode because the thread is stuck in a wait() and all the
state machine is managed in a signal handler (that was never called)...
and now it works! [1]

Thank you Peter!

Laurent

[1] qemu-m68k on i7-4790@3.6GHz: Throughput 217.83 MB/sec 1 procs
                                 Throughput 879.323 MB/sec 8 procs
    while a Quadra 800 is around 2 MB/sec...

  parent reply	other threads:[~2016-06-09 20:19 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-08 13:29 [Qemu-devel] [PULL 00/44] linux-user update riku.voipio
2016-06-08 13:29 ` [Qemu-devel] [PULL 01/44] linux-user: Fix qemu-binfmt-conf.sh to store config across reboot riku.voipio
2016-06-08 13:29 ` [Qemu-devel] [PULL 02/44] linux-user: add rtnetlink(7) support riku.voipio
2016-06-08 13:29 ` [Qemu-devel] [PULL 03/44] linux-user: support netlink protocol NETLINK_KOBJECT_UEVENT riku.voipio
2016-06-08 13:29 ` [Qemu-devel] [PULL 04/44] linux-user: add netlink audit riku.voipio
2016-06-08 13:29 ` [Qemu-devel] [PULL 05/44] linux-user: check if NETLINK_ROUTE is available riku.voipio
2016-06-08 13:29 ` [Qemu-devel] [PULL 06/44] linux-user: Factor out handle_signal code from process_pending_signals() riku.voipio
2016-06-08 13:29 ` [Qemu-devel] [PULL 07/44] linux-user: Move handle_pending_signal() to avoid need for declaration riku.voipio
2016-06-08 13:29 ` [Qemu-devel] [PULL 08/44] linux-user: Fix stray tab-indent riku.voipio
2016-06-08 13:29 ` [Qemu-devel] [PULL 09/44] linux-user: Factor out uses of do_sigprocmask() from sigreturn code riku.voipio
2016-06-08 13:29 ` [Qemu-devel] [PULL 10/44] linux-user: Define macro for size of host kernel sigset_t riku.voipio
2016-06-08 13:29 ` [Qemu-devel] [PULL 11/44] linux-user: Use safe_syscall for sigsuspend syscalls riku.voipio
2016-06-08 13:29 ` [Qemu-devel] [PULL 12/44] linux-user: Fix race between multiple signals riku.voipio
2016-06-08 13:29 ` [Qemu-devel] [PULL 13/44] linux-user: Remove redundant default action check in queue_signal() riku.voipio
2016-06-08 13:29 ` [Qemu-devel] [PULL 14/44] linux-user: Remove redundant gdb_queuesig() riku.voipio
2016-06-08 13:29 ` [Qemu-devel] [PULL 15/44] linux-user: Remove real-time signal queuing riku.voipio
2016-06-08 13:29 ` [Qemu-devel] [PULL 16/44] linux-user: Queue synchronous signals separately riku.voipio
2016-06-08 13:29 ` [Qemu-devel] [PULL 17/44] linux-user: Block signals during sigaction() handling riku.voipio
2016-06-08 13:29 ` [Qemu-devel] [PULL 18/44] linux-user: pause() should not pause if signal pending riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 19/44] linux-user: Restart exit() " riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 20/44] linux-user: Use safe_syscall for kill, tkill and tgkill syscalls riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 21/44] linux-user: Restart fork() if signals pending riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 22/44] linux-user: Use both si_code and si_signo when converting siginfo_t riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 23/44] linux-user: Avoid possible misalignment in target_to_host_siginfo() riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 24/44] linux-user: provide frame information in x86-64 safe_syscall riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 25/44] linux-user: Fix handling of arm_fadvise64_64 syscall riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 26/44] linux-user: Fix NR_fadvise64 and NR_fadvise64_64 for 32-bit guests riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 27/44] linux-user: Fix error conversion in 64-bit fadvise syscall riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 28/44] linux-user: Use safe_syscall wrapper for readv and writev syscalls riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 29/44] linux-user: Use safe_syscall wrapper for connect syscall riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 30/44] linux-user: Use safe_syscall wrapper for send* and recv* syscalls riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 31/44] linux-user: Use safe_syscall wrapper for msgsnd and msgrcv riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 32/44] linux-user: Use safe_syscall wrapper for mq_timedsend and mq_timedreceive riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 33/44] linux-user: Use safe_syscall wrapper for flock riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 34/44] linux-user: Use safe_syscall wrapper for rt_sigtimedwait syscall riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 35/44] linux-user: Use safe_syscall wrapper for sleep syscalls riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 36/44] linux-user: Use safe_syscall wrapper for poll and ppoll syscalls riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 37/44] linux-user: Use safe_syscall wrapper for epoll_wait syscalls riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 38/44] linux-user: Use safe_syscall wrapper for semop riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 39/44] linux-user: Use safe_syscall wrapper for accept and accept4 syscalls riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 40/44] linux-user: Use safe_syscall wrapper for ioctl riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 41/44] linux-user: Correct signedness of target_flock l_start and l_len fields riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 42/44] linux-user: Make target_strerror() return 'const char *' riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 43/44] linux-user: Special-case ERESTARTSYS in target_strerror() riku.voipio
2016-06-08 13:30 ` [Qemu-devel] [PULL 44/44] linux-user: In fork_end(), remove correct CPUs from CPU list riku.voipio
2016-06-08 18:37 ` [Qemu-devel] [PULL 00/44] linux-user update Peter Maydell
2016-06-09 20:19 ` Laurent Vivier [this message]
2016-06-09 20:53   ` Peter Maydell

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=4ebda94c-7299-6f67-0d96-9c26b749d132@vivier.eu \
    --to=laurent@vivier.eu \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=riku.voipio@linaro.org \
    /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).