[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] mem-prealloc: initialize cond and mutex(Internet mail)
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH] mem-prealloc: initialize cond and mutex(Internet mail) |
Date: |
Wed, 11 Mar 2020 19:34:10 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 10/03/20 08:06, bauerchen(陈蒙蒙) wrote:
> 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 ?
Sorry I missed this message. I have already sent a fixed patch, thanks!
Paolo
> ------------------------------------------------------------------------
> bauerchen(陈蒙蒙)
>
>
> *From:* Igor Mammedov <mailto:address@hidden>
> *Date:* 2020-03-09 21:19
> *To:* bauerchen(陈蒙蒙) <mailto:address@hidden>
> *CC:* borntraeger <mailto:address@hidden>; pbonzini
> <mailto:address@hidden>; qemu-devel
> <mailto:address@hidden>; qemu-s390x
> <mailto:address@hidden>; mhartmay <mailto:address@hidden>
> *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)
>
>
>
- [PATCH] mem-prealloc: initialize cond and mutex, Christian Borntraeger, 2020/03/06
- Re: [PATCH] mem-prealloc: initialize cond and mutex, Paolo Bonzini, 2020/03/06
- 回复: [PATCH] mem-prealloc: initialize cond and mutex(Internet mail), 陈蒙蒙, 2020/03/06
- Re: [PATCH] mem-prealloc: initialize cond and mutex, Igor Mammedov, 2020/03/09
- Re: [PATCH] mem-prealloc: initialize cond and mutex, Paolo Bonzini, 2020/03/09
- Re: [PATCH] mem-prealloc: initialize cond and mutex, Christian Borntraeger, 2020/03/09
- Re: Re: [PATCH] mem-prealloc: initialize cond and mutex(Internet mail), 陈蒙蒙, 2020/03/09
- Re: [PATCH] mem-prealloc: initialize cond and mutex(Internet mail), Igor Mammedov, 2020/03/09
- Re: Re: [PATCH] mem-prealloc: initialize cond and mutex(Internet mail), 陈蒙蒙, 2020/03/10
- Re: [PATCH] mem-prealloc: initialize cond and mutex(Internet mail),
Paolo Bonzini <=
- Re: Re: [PATCH] mem-prealloc: initialize cond and mutex(Internet mail), 陈蒙蒙, 2020/03/12