Re: [Qemu-devel] [PATCH v3 05/10] migration: move handle of zero page to the thread

2018-08-07 Thread Peter Xu
On Tue, Aug 07, 2018 at 05:12:04PM +0800, guangrong.x...@gmail.com wrote: > From: Xiao Guangrong > > Detecting zero page is not a light work, moving it to the thread to > speed the main thread up, btw, handling ram_release_pages() for the > zero page is moved to the thread as well > > Signed-off

[Qemu-devel] [PATCH v3 05/10] migration: move handle of zero page to the thread

2018-08-07 Thread guangrong . xiao
From: Xiao Guangrong Detecting zero page is not a light work, moving it to the thread to speed the main thread up, btw, handling ram_release_pages() for the zero page is moved to the thread as well Signed-off-by: Xiao Guangrong --- migration/ram.c | 96 +