From: Zenghui Yu <yuzenghui@huawei.com>
To: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Shuah Khan <shuah@kernel.org>,
Paolo Bonzini <pbonzini@redhat.com>, <kvm@vger.kernel.org>,
<linux-kselftest@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-s390@vger.kernel.org>, <vkuznets@redhat.com>,
<wanghaibin.wang@huawei.com>
Subject: Re: [PATCH] KVM: selftests: do not require 64GB in set_memory_region_test
Date: Fri, 2 Jul 2021 14:49:35 +0800 [thread overview]
Message-ID: <93ff00d3-b369-e00e-f172-7cc5375a6485@huawei.com> (raw)
In-Reply-To: <20210701160425.33666-1-borntraeger@de.ibm.com>
On 2021/7/2 0:04, Christian Borntraeger wrote:
> Unless the user sets overcommit_memory or has plenty of swap, the latest
> changes to the testcase will result in ENOMEM failures for hosts with
> less than 64GB RAM. As we do not use much of the allocated memory, we
> can use MAP_NORESERVE to avoid this error.
Had a go on arm64:
Tested-by: Zenghui Yu <yuzenghui@huawei.com>
Thanks,
Zenghui
prev parent reply other threads:[~2021-07-02 6:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-01 16:04 [PATCH] KVM: selftests: do not require 64GB in set_memory_region_test Christian Borntraeger
2021-07-02 6:49 ` Zenghui Yu [this message]
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=93ff00d3-b369-e00e-f172-7cc5375a6485@huawei.com \
--to=yuzenghui@huawei.com \
--cc=borntraeger@de.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=shuah@kernel.org \
--cc=vkuznets@redhat.com \
--cc=wanghaibin.wang@huawei.com \
/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).