From: Liu Ping Fan <qemulist@gmail.com>
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
Anthony Liguori <anthony@codemonkey.ws>,
"Michael S. Tsirkin" <mst@redhat.com>,
Jan Kiszka <jan.kiszka@siemens.com>,
Stefan Hajnoczi <stefanha@redhat.com>,
Paolo Bonzini <pbonzini@redhat.com>
Subject: [Qemu-devel] [RFC PATCH 0/2] make memory listener prepared for rcu style
Date: Mon, 13 May 2013 11:21:02 +0800 [thread overview]
Message-ID: <1368415264-10800-1-git-send-email-qemulist@gmail.com> (raw)
From: Liu Ping Fan <pingfank@linux.vnet.ibm.com>
This is an old idea, I post last year, http://permalink.gmane.org/gmane.comp.emulators.qemu/164845
I rebase it, after Paolo's [PATCH 00/40] Memory-related changes sneak peek for 1.6
(Paolo's tree git://github.com/bonzini/qemu.git, branch iommu.)
Open issue--the dependency of MemoryListener
After diving into code and some discussion with Stefanha, I think AddressSpace Listener has no direct dependency of kvm's
1st, c_p_m_rw is the link combinded the the two listeners, but guest raise the rw emulated device's exception, not kvm
which means the real dependency lies between listener and guest.
2nd, orign code has violated the dependency, mem_begin() destroy the radix-tree, which means regions disappear, but exist in kvm memslot
Liu Ping Fan (2):
mem: make phys_section and phys_map_nodes prepared for RCU
mem: prepare address_space listener rcu style
exec.c | 225 ++++++++++++++++++++++------------------
include/exec/memory-internal.h | 11 ++-
include/exec/memory.h | 2 +
memory.c | 2 +
4 files changed, 139 insertions(+), 101 deletions(-)
--
1.7.4.4
next reply other threads:[~2013-05-13 3:21 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-13 3:21 Liu Ping Fan [this message]
2013-05-13 3:21 ` [Qemu-devel] [RFC PATCH 1/2] mem: make phys_section and phys_map_nodes prepared for RCU Liu Ping Fan
2013-05-13 9:20 ` Paolo Bonzini
2013-05-14 3:38 ` liu ping fan
2013-05-14 9:27 ` Paolo Bonzini
2013-05-15 7:04 ` liu ping fan
2013-05-26 13:02 ` liu ping fan
2013-05-27 11:54 ` Paolo Bonzini
2013-05-29 1:52 ` liu ping fan
2013-05-13 3:21 ` [Qemu-devel] [RFC PATCH 2/2] mem: prepare address_space listener rcu style Liu Ping Fan
2013-05-13 9:31 ` Paolo Bonzini
2013-05-14 5:47 ` liu ping fan
2013-05-14 9:34 ` Paolo Bonzini
2013-05-15 1:29 ` liu ping fan
2013-05-15 8:22 ` Paolo Bonzini
2013-05-15 9:11 ` liu ping fan
2013-05-15 9:19 ` Paolo Bonzini
2013-05-16 9:09 ` Paolo Bonzini
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=1368415264-10800-1-git-send-email-qemulist@gmail.com \
--to=qemulist@gmail.com \
--cc=anthony@codemonkey.ws \
--cc=jan.kiszka@siemens.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@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 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).