Messages in this thread | | | Subject | Re: [PATCH] KVM: selftests: do not require 64GB in set_memory_region_test | From | Zenghui Yu <> | Date | Fri, 2 Jul 2021 14:49:35 +0800 |
| |
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
| |