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). --- dashboard/config/linux/bits/base.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dashboard/config/linux/bits') diff --git a/dashboard/config/linux/bits/base.yml b/dashboard/config/linux/bits/base.yml index b3077ef5a..4446606a0 100644 --- a/dashboard/config/linux/bits/base.yml +++ b/dashboard/config/linux/bits/base.yml @@ -19,7 +19,9 @@ config: - DEBUG_KERNEL # panic=86400: prevents kernel from rebooting so that we don't get reboot output in all crash reports. - - CMDLINE: "earlyprintk=serial net.ifnames=0 sysctl.kernel.hung_task_all_cpu_backtrace=1 ima_policy=tcb nf-conntrack-ftp.ports=20000 nf-conntrack-tftp.ports=20000 nf-conntrack-sip.ports=20000 nf-conntrack-irc.ports=20000 nf-conntrack-sane.ports=20000 binder.debug_mask=0 rcupdate.rcu_expedited=1 no_hash_pointers page_owner=on" + # Huge page overcommit is disabled by default, allowing some overcommit + # with vm.nr_overcommit_hugepages is intended to give more coverage. + - CMDLINE: "earlyprintk=serial net.ifnames=0 sysctl.kernel.hung_task_all_cpu_backtrace=1 ima_policy=tcb nf-conntrack-ftp.ports=20000 nf-conntrack-tftp.ports=20000 nf-conntrack-sip.ports=20000 nf-conntrack-irc.ports=20000 nf-conntrack-sane.ports=20000 binder.debug_mask=0 rcupdate.rcu_expedited=1 no_hash_pointers page_owner=on sysctl.vm.nr_hugepages=4 sysctl.vm.nr_overcommit_hugepages=4" # This config can be used to enable any additional temporal debugging features in linux-next tree. - DEBUG_AID_FOR_SYZBOT: [linux-next] -- cgit mrf-deployment