qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] memory: reverse the priority when commit


From: liu ping fan
Subject: Re: [Qemu-devel] [PATCH] memory: reverse the priority when commit
Date: Fri, 29 Mar 2013 15:10:38 +0800

On Thu, Mar 28, 2013 at 10:44 PM, Peter Maydell
<address@hidden> wrote:
> On 28 March 2013 08:08, Liu Ping Fan <address@hidden> wrote:
>> In theroy, the high priority should commit earlier, it is the same
>> reason as the sequence of "Lower = earlier (during add), later (during del)"
>
> Hi. Could you give a bit more detail about the reason for this
> change, please? Do any of our existing commit hooks currently
> care about the order in which they're called (ie is this fixing
> a bug), or is there some use case that would care in future?
>
> This change may well be right but it's not immediately obvious
> that begin/commit are a paired set in the same way as (say)
> add/del and log_start/log_stop, so more rationale would be
> helpful.
>
Each componet (core, kvm,vhost) should have different priority to see
the change of the memory layout, for they are async.  But oh, here
seems that I make a mistake, the sequence of commit has already make
high priority first.

Regards,
Pingfan
> thanks
> -- PMM
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]