lkml.org 
[lkml]   [2021]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] KVM: selftests: do not require 64GB in set_memory_region_test
From
Date
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

\
 
 \ /
  Last update: 2021-07-02 08:50    [W:0.309 / U:1.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site