qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "bauerchen(陈蒙蒙)" <bauerchen@tencent.com>
To: Igor Mammedov <imammedo@redhat.com>
Cc: borntraeger <borntraeger@de.ibm.com>,
	qemu-s390x <qemu-s390x@nongnu.org>,
	mhartmay <mhartmay@linux.ibm.com>,
	qemu-devel <qemu-devel@nongnu.org>,
	pbonzini <pbonzini@redhat.com>
Subject: Re: Re: [PATCH] mem-prealloc: initialize cond and mutex(Internet mail)
Date: Tue, 10 Mar 2020 07:06:57 +0000	[thread overview]
Message-ID: <d656861cb19e4f468da5fe2db80e060e@tencent.com> (raw)
In-Reply-To: 20200309141914.0b9ad42f@Igors-MacBook-Pro

[-- Attachment #1: Type: text/plain, Size: 1171 bytes --]

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<mailto:imammedo@redhat.com>
Date: 2020-03-09 21:19
To: bauerchen(陈蒙蒙)<mailto:bauerchen@tencent.com>
CC: borntraeger<mailto:borntraeger@de.ibm.com>; pbonzini<mailto:pbonzini@redhat.com>; qemu-devel<mailto:qemu-devel@nongnu.org>; qemu-s390x<mailto:qemu-s390x@nongnu.org>; mhartmay<mailto:mhartmay@linux.ibm.com>
Subject: Re: [PATCH] mem-prealloc: initialize cond and mutex(Internet mail)
On Mon, 9 Mar 2020 11:16:10 +0000
bauerchen(陈蒙蒙) <bauerchen@tencent.com> 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)



[-- Attachment #2: Type: text/html, Size: 2515 bytes --]

  reply	other threads:[~2020-03-10  7:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-06  8:50 [PATCH] mem-prealloc: initialize cond and mutex Christian Borntraeger
2020-03-06  9:06 ` Paolo Bonzini
2020-03-06  9:57 ` 回复: [PATCH] mem-prealloc: initialize cond and mutex(Internet mail) bauerchen(陈蒙蒙)
2020-03-09  9:17   ` Christian Borntraeger
2020-03-09 10:03 ` [PATCH] mem-prealloc: initialize cond and mutex Igor Mammedov
2020-03-09 10:05   ` Paolo Bonzini
2020-03-09 11:01     ` Christian Borntraeger
2020-03-09 11:16       ` Re: [PATCH] mem-prealloc: initialize cond and mutex(Internet mail) bauerchen(陈蒙蒙)
2020-03-09 13:19         ` Igor Mammedov
2020-03-10  7:06           ` bauerchen(陈蒙蒙) [this message]
2020-03-11 18:34             ` Paolo Bonzini
2020-03-12  5:05               ` bauerchen(陈蒙蒙)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d656861cb19e4f468da5fe2db80e060e@tencent.com \
    --to=bauerchen@tencent.com \
    --cc=borntraeger@de.ibm.com \
    --cc=imammedo@redhat.com \
    --cc=mhartmay@linux.ibm.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-s390x@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).