diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2021-05-12 17:25:52 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-05-12 17:59:13 +0200 |
| commit | ed7d41c582d6f194ff35353d8bfdf7681dc0718e (patch) | |
| tree | 266e66231d2aad1952c842022518175410f0d2f3 /executor | |
| parent | fff891da21df06010bab1586e12d1f24191eee60 (diff) | |
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).
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/common_linux.h | 2 |
1 files changed, 0 insertions, 2 deletions
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"}, |
