public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Clarification for patch 7
@ 2014-12-17  3:40 Mario Smarduch
  2015-01-07 12:39 ` Christoffer Dall
  0 siblings, 1 reply; 2+ messages in thread
From: Mario Smarduch @ 2014-12-17  3:40 UTC (permalink / raw)
  To: christoffer.dall@linaro.org, Marc Zyngier
  Cc: Paolo Bonzini, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org

Hi Christoffer, Marc -
   in stage2_dissolve_pmd() CONFIG_SMP is
unnecessary. At the time huge page is write protected,
until it faults and is cleared any page in the range
may be dirty not just the gpa access that caused the
fault.

The comment on another CPU is wrong, I
confused myself while testing it should not be possible for
another CPU to write to same PMD range while
another is handling its PMD fault. I ran a test with
only initrd which exposed an issue using my
test scenario, QEMU appears fine.

It also depends on user space if you first turn
on logging, do pre-copy then marking just the page
is enough. It's hard to interpret the API in this
case. It just says dirty pages since the last
call.

That patch could be resent without upsetting
the rest.

- Mario

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-07 12:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-17  3:40 Clarification for patch 7 Mario Smarduch
2015-01-07 12:39 ` Christoffer Dall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox