diff options
author | Christian Borntraeger <[email protected]> | 2021-07-01 17:42:24 +0200 |
---|---|---|
committer | Christian Borntraeger <[email protected]> | 2021-07-06 10:06:20 +0200 |
commit | cd4220d23bf3f43cf720e82bdee681f383433ae2 (patch) | |
tree | 03f0c2037e4e3bee4fa9da12573802c42f2ade40 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fb5dad4084f0ea6b6df5fe90f157531ca6e20681 (diff) |
KVM: selftests: do not require 64GB in set_memory_region_test
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.
Cc: Zenghui Yu <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Fixes: 309505dd5685 ("KVM: selftests: Fix mapping length truncation in m{,un}map()")
Tested-by: Zenghui Yu <[email protected]>
Link: https://lore.kernel.org/kvm/[email protected]/
Signed-off-by: Christian Borntraeger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions