qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] memory: add early bail out from cpu_physical_me


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] memory: add early bail out from cpu_physical_memory_set_dirty_range
Date: Thu, 28 Jan 2016 11:06:40 +0000
User-agent: Mutt/1.5.24 (2015-08-30)

On Tue, Jan 26, 2016 at 05:59:40PM +0100, Paolo Bonzini wrote:
> This condition is true in the common case, so we can cut out the body of
> the function.  In addition, this makes it easier for the compiler to do
> at least partial inlining, even if it decides that fully inlining the
> function is unreasonable.
> 
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
>  include/exec/ram_addr.h | 4 ++++
>  1 file changed, 4 insertions(+)

Reviewed-by: Stefan Hajnoczi <address@hidden>

Attachment: signature.asc
Description: PGP signature


reply via email to

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