qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] memory: reverse the priority when commit
@ 2013-03-28  8:08 Liu Ping Fan
  2013-03-28 14:44 ` Peter Maydell
  0 siblings, 1 reply; 3+ messages in thread
From: Liu Ping Fan @ 2013-03-28  8:08 UTC (permalink / raw)
  To: qemu-devel; +Cc: Jan Kiszka, Anthony Liguori, Richard Henderson

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

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

end of thread, other threads:[~2013-03-29  7:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-28  8:08 [Qemu-devel] [PATCH] memory: reverse the priority when commit Liu Ping Fan
2013-03-28 14:44 ` Peter Maydell
2013-03-29  7:10   ` liu ping fan

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).