From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UL7t8-0002bx-3p for qemu-devel@nongnu.org; Thu, 28 Mar 2013 04:08:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UL7t5-0002lJ-Cf for qemu-devel@nongnu.org; Thu, 28 Mar 2013 04:08:46 -0400 Received: from e28smtp07.in.ibm.com ([122.248.162.7]:54937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UL7t4-0002ko-NL for qemu-devel@nongnu.org; Thu, 28 Mar 2013 04:08:43 -0400 Received: from /spool/local by e28smtp07.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 28 Mar 2013 13:34:32 +0530 Received: from d28relay02.in.ibm.com (d28relay02.in.ibm.com [9.184.220.59]) by d28dlp03.in.ibm.com (Postfix) with ESMTP id 62B2F125804F for ; Thu, 28 Mar 2013 13:39:46 +0530 (IST) Received: from d28av03.in.ibm.com (d28av03.in.ibm.com [9.184.220.65]) by d28relay02.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r2S88Rcd2228686 for ; Thu, 28 Mar 2013 13:38:28 +0530 Received: from d28av03.in.ibm.com (loopback [127.0.0.1]) by d28av03.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r2S88UVB009009 for ; Thu, 28 Mar 2013 19:08:30 +1100 From: Liu Ping Fan Date: Thu, 28 Mar 2013 16:08:27 +0800 Message-Id: <1364458107-5893-1-git-send-email-pingfank@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH] memory: reverse the priority when commit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 --- 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