From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
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 13:55:41 +0000 [thread overview]
Message-ID: <20190226135541.GG2721@work-vm> (raw)
In-Reply-To: <CAFEAcA_Pd9EW4pRQSakEPUj2A3Cv669rhhvyV2rmyY0A6evXxw@mail.gmail.com>
* Peter Maydell (peter.maydell@linaro.org) wrote:
> On Tue, 26 Feb 2019 at 12:30, Peter Maydell <peter.maydell@linaro.org> wrote:
> >
> > 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 ??
>
> Very weirdly, gdb shows me an absolute timestamp passed
> to the futex function which is indeed in the past, so it
> seems like the issue is that the kernel isn't returning
> control to us when the timestamp expires for some reason.
I wonder if we have any more luck with blacklisting CONFIG_SEM_TIMEDWAIT
- I wonder if it uses a different kernel call?
Dave
> thanks
> -- PMM
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
prev parent reply other threads:[~2019-02-26 13:55 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
2019-02-26 13:16 ` Peter Maydell
2019-02-26 13:55 ` Dr. David Alan Gilbert [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=20190226135541.GG2721@work-vm \
--to=dgilbert@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.