From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Andrea Arcangeli <aarcange@redhat.com>
Cc: "Li, Liang Z" <liang.z.li@intel.com>,
Amit Shah <amit.shah@redhat.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"quintela@redhat.com" <quintela@redhat.com>
Subject: Re: [Qemu-devel] post-copy is broken?
Date: Thu, 14 Apr 2016 11:13:03 +0100 [thread overview]
Message-ID: <20160414101302.GC2252@work-vm> (raw)
In-Reply-To: <20160413205132.GG26364@redhat.com>
* Andrea Arcangeli (aarcange@redhat.com) wrote:
> On Wed, Apr 13, 2016 at 01:50:53PM +0100, Dr. David Alan Gilbert wrote:
> > * Dr. David Alan Gilbert (dgilbert@redhat.com) wrote:
> >
> > > + if ( ((b + 1) % 255) == last_byte && !hit_edge) {
> >
> > Ahem, that should be 256.
> >
> > I'm going to bisect the kernel and see where we get to.
> > Andrea's userfaultfd self-test passes on 2.5, so it's something more
> > subtle.
> >
>
> David already tracked down 1df59b8497f47495e873c23abd6d3d290c730505
> good and 984065055e6e39f8dd812529e11922374bd39352 bad.
>
> git diff 1df59b8497f47495e873c23abd6d3d290c730505..984065055e6e39f8dd812529e11922374bd39352 fs/userfaultfd.c mm/userfaultfd.c
>
> Nothing that could break it in the diff of the relevant two files.
>
> The only other userfault related change in this commit range that
> comes to mind is in fixup_user_fault, but if that was buggy you don't
> userfault into futexes with postcopy so you couldn't notice, so the
> only other user of that is s390.
>
> The next suspect is the massive THP refcounting change that went
> upstream recently:
...
> As further debug hint, can you try to disable THP and see if that
> makes the problem go away?
Yeh, looks like it is THP.
My bisect is currently at 17ec4cd985780a7e30aa45bb8f272237c12502a4
and with that from a fresh boot it fails, if I disable THP it works
and if I reenable THP back to madvise it fails.
I spotted that my previous bisect point it failed before I'd done
the next kernel build but failed after I'd done the build (but before
I rebooted!) - so I guess after the build it couldn't find any THPs to do.
Dave
>
> Thanks,
> Andrea
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
next prev parent reply other threads:[~2016-04-14 10:13 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-12 9:23 [Qemu-devel] post-copy is broken? Li, Liang Z
2016-04-12 9:37 ` Dr. David Alan Gilbert
2016-04-12 17:55 ` Dr. David Alan Gilbert
2016-04-13 0:43 ` Li, Liang Z
2016-04-13 2:28 ` Li, Liang Z
2016-04-13 8:06 ` Dr. David Alan Gilbert
2016-04-13 11:41 ` Dr. David Alan Gilbert
2016-04-13 12:50 ` Dr. David Alan Gilbert
2016-04-13 20:51 ` Andrea Arcangeli
2016-04-14 10:13 ` Dr. David Alan Gilbert [this message]
2016-04-14 12:34 ` Dr. David Alan Gilbert
2016-04-14 16:22 ` Andrea Arcangeli
2016-04-14 16:22 ` [Qemu-devel] " Andrea Arcangeli
2016-04-15 12:52 ` Kirill A. Shutemov
2016-04-15 12:52 ` [Qemu-devel] " Kirill A. Shutemov
2016-04-15 13:42 ` Dr. David Alan Gilbert
2016-04-15 13:42 ` [Qemu-devel] " Dr. David Alan Gilbert
2016-04-15 15:23 ` Kirill A. Shutemov
2016-04-15 15:23 ` [Qemu-devel] " Kirill A. Shutemov
2016-04-15 16:34 ` Dr. David Alan Gilbert
2016-04-15 16:34 ` [Qemu-devel] " Dr. David Alan Gilbert
2016-04-18 9:50 ` Li, Liang Z
2016-04-18 9:50 ` [Qemu-devel] " Li, Liang Z
2016-04-18 9:55 ` Dr. David Alan Gilbert
2016-04-18 9:55 ` [Qemu-devel] " Dr. David Alan Gilbert
2016-04-18 10:06 ` Li, Liang Z
2016-04-18 10:06 ` [Qemu-devel] " Li, Liang Z
2016-04-18 10:15 ` Dr. David Alan Gilbert
2016-04-18 10:15 ` [Qemu-devel] " Dr. David Alan Gilbert
2016-04-18 10:33 ` Li, Liang Z
2016-04-18 10:33 ` [Qemu-devel] " Li, Liang Z
2016-04-18 13:23 ` Dr. David Alan Gilbert
2016-04-18 13:23 ` [Qemu-devel] " Dr. David Alan Gilbert
2016-04-18 17:18 ` Dr. David Alan Gilbert
2016-04-18 17:18 ` [Qemu-devel] " Dr. David Alan Gilbert
2016-04-20 17:27 ` Dr. David Alan Gilbert
2016-04-20 17:27 ` [Qemu-devel] " Dr. David Alan Gilbert
2016-04-21 19:21 ` Dr. David Alan Gilbert
2016-04-21 19:21 ` [Qemu-devel] " Dr. David Alan Gilbert
2016-04-27 14:47 ` Andrea Arcangeli
2016-04-27 14:47 ` [Qemu-devel] " Andrea Arcangeli
2016-04-28 2:59 ` Li, Liang Z
2016-04-28 2:59 ` [Qemu-devel] " Li, Liang Z
2016-04-28 8:03 ` Dr. David Alan Gilbert
2016-04-28 8:03 ` [Qemu-devel] " Dr. David Alan Gilbert
2016-04-15 22:19 ` Andrea Arcangeli
2016-04-15 22:19 ` [Qemu-devel] " Andrea Arcangeli
2016-04-18 9:40 ` Dr. David Alan Gilbert
2016-04-18 9:40 ` [Qemu-devel] " Dr. David Alan Gilbert
2016-04-18 9:58 ` Li, Liang Z
2016-04-18 9:58 ` [Qemu-devel] " Li, Liang Z
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=20160414101302.GC2252@work-vm \
--to=dgilbert@redhat.com \
--cc=aarcange@redhat.com \
--cc=amit.shah@redhat.com \
--cc=liang.z.li@intel.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@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 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.