qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] exec: fix ram_list dirty map optimization


From: Juan Quintela
Subject: Re: [Qemu-devel] [PATCH] exec: fix ram_list dirty map optimization
Date: Tue, 04 Feb 2014 16:00:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Alexey Kardashevskiy <address@hidden> wrote:
> The ae2810c4bb3b383176e8e1b33931b16c01483aab patch introduced
> optimization for ram_list.dirty_memory update. However it can only
> work correctly if hpratio is 1 as the @bitmap parameter stores 1 bits
> per system page size (may vary, 4K or 64K on PPC64) and
> ram_list.dirty_memory stores 1 bit per TARGET_PAGE_SIZE
> (which is hardcoded to 4K).
>
> This fixes hpratio!=1 case to fall back to the slow path.
>
> Signed-off-by: Alexey Kardashevskiy <address@hidden>

Reviewed-by: Juan Quintela <address@hidden>



reply via email to

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