Re: [Qemu-devel] [v6 08/14] migration: Add the core code of multi-thread compression

2015-03-27 Thread Li, Liang Z
> - > > 1 file changed, 177 insertions(+), 7 deletions(-) > > > > diff --git a/arch_init.c b/arch_init.c index 48cae22..9f63c0f 100644 > > --- a/arch_init.c > > +++ b/arch_init.c > > @@ -355,12 +355,33 @@ static DecompressParam *decomp_param; static > > QemuThread *decompress_threads; static uin

Re: [Qemu-devel] [v6 08/14] migration: Add the core code of multi-thread compression

2015-03-27 Thread Juan Quintela
Liang Li wrote: > Implement the core logic of the multiple thread compression. At this > point, multiple thread compression can't co-work with xbzrle yet. > > Signed-off-by: Liang Li > Signed-off-by: Yang Zhang Coming back to here, as we have the full code. > --- > arch_init.c | 184 > +

Re: [Qemu-devel] [v6 08/14] migration: Add the core code of multi-thread compression

2015-03-26 Thread Li, Liang Z
> >> > --- a/arch_init.c > >> > +++ b/arch_init.c > >> > @@ -355,12 +355,33 @@ static DecompressParam *decomp_param; > static > >> > QemuThread *decompress_threads; static uint8_t > >> *compressed_data_buf; > >> > > >> > +static int do_compress_ram_page(CompressParam *param); > >> > + > >> > stat

Re: [Qemu-devel] [v6 08/14] migration: Add the core code of multi-thread compression

2015-03-26 Thread Juan Quintela
"Li, Liang Z" wrote: >> > --- a/arch_init.c >> > +++ b/arch_init.c >> > @@ -355,12 +355,33 @@ static DecompressParam *decomp_param; static >> > QemuThread *decompress_threads; static uint8_t >> *compressed_data_buf; >> > >> > +static int do_compress_ram_page(CompressParam *param); >> > + >> > s

Re: [Qemu-devel] [v6 08/14] migration: Add the core code of multi-thread compression

2015-03-25 Thread Li, Liang Z
> > --- a/arch_init.c > > +++ b/arch_init.c > > @@ -355,12 +355,33 @@ static DecompressParam *decomp_param; static > > QemuThread *decompress_threads; static uint8_t > *compressed_data_buf; > > > > +static int do_compress_ram_page(CompressParam *param); > > + > > static void *do_data_compress(vo

Re: [Qemu-devel] [v6 08/14] migration: Add the core code of multi-thread compression

2015-03-25 Thread Juan Quintela
Liang Li wrote: > Implement the core logic of the multiple thread compression. At this > point, multiple thread compression can't co-work with xbzrle yet. > > Signed-off-by: Liang Li > Signed-off-by: Yang Zhang > --- > arch_init.c | 184 > ++

[Qemu-devel] [v6 08/14] migration: Add the core code of multi-thread compression

2015-03-23 Thread Liang Li
Implement the core logic of the multiple thread compression. At this point, multiple thread compression can't co-work with xbzrle yet. Signed-off-by: Liang Li Signed-off-by: Yang Zhang --- arch_init.c | 184 +--- 1 file changed, 177 insert