Hi,
I just noticed significant performance hit with this change. Booting
small system (I tried on system mips only) was usually taking around 20
seconds, now reaches 3 minutes with this change.
Leon
On 09/02/16 12:13, Paolo Bonzini wrote:
> From: Stefan Hajnoczi
>
>
On 10/02/2016 17:56, Leon Alrae wrote:
> Hi,
>
> I just noticed significant performance hit with this change. Booting
> small system (I tried on system mips only) was usually taking around 20
> seconds, now reaches 3 minutes with this change.
You're lucky that it booted at all. :)
From: Stefan Hajnoczi
Although accesses to ram_list.dirty_memory[] use atomics so multiple
threads can safely dirty the bitmap, the data structure is not fully
thread-safe yet.
This patch handles the RAM hotplug case where ram_list.dirty_memory[] is
grown.