qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>,
	Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [Qemu-devel] can we disable the migration-test for TCG targets ?
Date: Tue, 26 Feb 2019 12:30:49 +0000	[thread overview]
Message-ID: <CAFEAcA8fc74k5XKQhmDgv10bk2vyvqZuon395gT0YGhONOF_QA@mail.gmail.com> (raw)
In-Reply-To: <20190226121700.GF2721@work-vm>

On Tue, 26 Feb 2019 at 12:17, Dr. David Alan Gilbert
<dgilbert@redhat.com> wrote:
>
> * Peter Maydell (peter.maydell@linaro.org) wrote:
> > Backtrace of process 125450:
> > Thread 6 (Thread 0xfff800012de0b900 (LWP 127434)):
> > #0  0xfff80001034c5cdc in futex_abstimed_wait_cancelable (private=0,
> > abstime=0xfff800012de09f88, expected=0, futex_word=0x10001236574)
> >     at ../sysdeps/unix/sysv/linux/futex-internal.h:205
> > #1  0xfff80001034c5cdc in do_futex_wait (sem=0x3c,
> > abstime=0xfff800012de09f88) at sem_waitcommon.c:111
> > #2  0xfff80001034c5e00 in __new_sem_wait_slow (sem=0x10001236570,
> > abstime=0xfff800012de09f88) at sem_waitcommon.c:181
> > #3  0x000001000091dacc in qemu_sem_timedwait (sem=0x10001236570,
> > ms=<optimized out>) at /home/pm215/qemu/util/qemu-thread-posix.c:289
> > #4  0x000001000078ae28 in migration_thread (opaque=0x100012364a0) at
> > /home/pm215/qemu/migration/migration.c:3125
>
> So migration is still apparently running, it's rate-limiting
> using a timedwait; but 'ms' has been unhelpfully optimised out; could
> it be stuck in here for some reason?

I looked at this from frame 4, and ms is 64. On the other
hand if I tell gdb to 'fin' it doesn't ever leave
futex_abstimed_wait_cancelable(), so I wonder if we're
managing to get the conversion of the relative time into
an absolute deadline wrong somehow ??

thanks
-- PMM

  reply	other threads:[~2019-02-26 12:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-25 14:00 [Qemu-devel] can we disable the migration-test for TCG targets ? Peter Maydell
2019-02-25 15:37 ` Alex Bennée
2019-02-26 11:46 ` Peter Maydell
2019-02-26 12:17   ` Dr. David Alan Gilbert
2019-02-26 12:30     ` Peter Maydell [this message]
2019-02-26 13:16       ` Peter Maydell
2019-02-26 13:55         ` Dr. David Alan Gilbert

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=CAFEAcA8fc74k5XKQhmDgv10bk2vyvqZuon395gT0YGhONOF_QA@mail.gmail.com \
    --to=peter.maydell@linaro.org \
    --cc=dgilbert@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.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).