qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: 陈蒙蒙
Subject: Re: Re: [PATCH] mem-prealloc: initialize cond and mutex(Internet mail)
Date: Tue, 10 Mar 2020 07:06:57 +0000

oh ,yes.Thanks
I want to know if I submit a new fixed patch or just a patch fixed current problem?? 
if a new fixed patch, maybe need a revert ?

bauerchen(陈蒙蒙)
 
From: Igor Mammedov
Date: 2020-03-09 21:19
To: bauerchen(陈蒙蒙)
CC: borntraeger; pbonzini; qemu-devel; qemu-s390x; mhartmay
Subject: Re: [PATCH] mem-prealloc: initialize cond and mutex(Internet mail)
On Mon, 9 Mar 2020 11:16:10 +0000
bauerchen(陈蒙蒙) <address@hidden> 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() which is called
at least once per an instance of hotsmem backend. So if several backends
are used then it should be called several times.
The same applies when a hostmem backend is added during runtime (hotplug)
 
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]