From: Liu Ping Fan <pingfank@linux.vnet.ibm.com>
To: qemu-devel@nongnu.org
Cc: Jan Kiszka <jan.kiszka@siemens.com>,
Anthony Liguori <aliguori@us.ibm.com>,
Richard Henderson <rth@twiddle.net>
Subject: [Qemu-devel] [PATCH] memory: reverse the priority when commit
Date: Thu, 28 Mar 2013 16:08:27 +0800 [thread overview]
Message-ID: <1364458107-5893-1-git-send-email-pingfank@linux.vnet.ibm.com> (raw)
In theroy, the high priority should commit earlier, it is the same
reason as the sequence of "Lower = earlier (during add), later (during del)"
Signed-off-by: Liu Ping Fan <pingfank@linux.vnet.ibm.com>
---
memory.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/memory.c b/memory.c
index 75ca281..ecf1df3 100644
--- a/memory.c
+++ b/memory.c
@@ -750,7 +750,7 @@ void memory_region_transaction_commit(void)
address_space_update_topology(as);
}
- MEMORY_LISTENER_CALL_GLOBAL(commit, Forward);
+ MEMORY_LISTENER_CALL_GLOBAL(commit, Reverse);
}
}
--
1.7.4.4
next reply other threads:[~2013-03-28 8:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-28 8:08 Liu Ping Fan [this message]
2013-03-28 14:44 ` [Qemu-devel] [PATCH] memory: reverse the priority when commit Peter Maydell
2013-03-29 7:10 ` liu ping fan
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=1364458107-5893-1-git-send-email-pingfank@linux.vnet.ibm.com \
--to=pingfank@linux.vnet.ibm.com \
--cc=aliguori@us.ibm.com \
--cc=jan.kiszka@siemens.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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).