From ed7d41c582d6f194ff35353d8bfdf7681dc0718e Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 12 May 2021 17:25:52 +0200 Subject: executor: move vm.nr_overcommit_hugepages into config Move the sysctl into config, so that kernels can opt out of it if necessary (not all kernels enable it and interested in testing). --- executor/common_linux.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'executor') diff --git a/executor/common_linux.h b/executor/common_linux.h index 3e3879370..1a25748fc 100644 --- a/executor/common_linux.h +++ b/executor/common_linux.h @@ -4667,8 +4667,6 @@ static void setup_sysctl() {"/proc/sys/net/ipv4/ping_group_range", "0 65535"}, // Faster gc (1 second) is intended to make tests more repeatable. {"/proc/sys/kernel/keys/gc_delay", "1"}, - // Huge page overcommit is disabled by default, allowing some overcommit is intended to give more coverage. - {"/proc/sys/vm/nr_overcommit_hugepages", "4"}, // We always want to prefer killing the allocating test process rather than somebody else // (sshd or another random test process). {"/proc/sys/vm/oom_kill_allocating_task", "1"}, -- cgit mrf-deployment