Re: Re: [PATCH] mem-prealloc: initialize cond and mutex(Internet mail)

2020-03-11 Thread 陈蒙蒙
ok ,thanks Paolo bauer   From: Paolo Bonzini Date: 2020-03-12 02:34 To: bauerchen(陈蒙蒙); Igor Mammedov CC: borntraeger; qemu-devel; qemu-s390x; mhartmay Subject: Re: [PATCH] mem-prealloc: initialize cond and mutex(Internet mail) On 10/03/20 08:06, bauerchen(陈蒙蒙) wrote: > oh ,yes.Thanks > I w

Re: [PATCH] mem-prealloc: initialize cond and mutex(Internet mail)

2020-03-11 Thread Paolo Bonzini
raeger <mailto:borntrae...@de.ibm.com>; pbonzini > <mailto:pbonz...@redhat.com>; qemu-devel > <mailto:qemu-devel@nongnu.org>; qemu-s390x > <mailto:qemu-s3...@nongnu.org>; mhartmay <mailto:mhart...@linux.ibm.com> > *Subject:* Re: [PATCH] mem-preall

Re: Re: [PATCH] mem-prealloc: initialize cond and mutex(Internet mail)

2020-03-10 Thread 陈蒙蒙
to:bauerc...@tencent.com> CC: borntraeger<mailto:borntrae...@de.ibm.com>; pbonzini<mailto:pbonz...@redhat.com>; qemu-devel<mailto:qemu-devel@nongnu.org>; qemu-s390x<mailto:qemu-s3...@nongnu.org>; mhartmay<mailto:mhart...@linux.ibm.com> Subject: Re: [PATCH] mem-pr

Re: [PATCH] mem-prealloc: initialize cond and mutex(Internet mail)

2020-03-09 Thread Igor Mammedov
On Mon, 9 Mar 2020 11:16:10 + bauerchen(陈蒙蒙) wrote: > Thanks,  in fact,do_touch_pages is called just when vm starts up, but using > init flag and Gonce maybe more elegant ! > if needed,I can submit a new patch ! > thanks very much! it's called from os_mem_prealloc() -> touch_all_pages() wh

Re: Re: [PATCH] mem-prealloc: initialize cond and mutex(Internet mail)

2020-03-09 Thread 陈蒙蒙
; Marc Hartmayer; bauerchen(陈蒙蒙) Subject: Re: [PATCH] mem-prealloc: initialize cond and mutex(Internet mail)     On 09.03.20 11:05, Paolo Bonzini wrote: > On 09/03/20 11:03, Igor Mammedov wrote: >>> +    qemu_cond_init(&page_cond); >>> +    qemu_mutex_init(&page_