Alexey Kardashevskiy <a...@ozlabs.ru> 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 <a...@ozlabs.ru>

Reviewed-by: Juan Quintela <quint...@redhat.com>

Reply via email to