aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/config/linux/android-5.4.sysctl
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-08-01 14:44:36 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-10-13 18:59:52 +0200
commitfc7735a27949755327024847e12dcc1b868bcb99 (patch)
tree8f7ed16cdcc7a4cc34fd36c161f695d17ab9f632 /dashboard/config/linux/android-5.4.sysctl
parent5ba0ebc3f2626a1fd95bf1ce16e886ebc66d8638 (diff)
dashboard/config: move OS configs into separate dirs
There are too many assorted things in the config dir now. Split them per-OS. For now we just copy them to simplify deployment. When syzbot instances are switched to new configs, we can remove the old ones. Update #2171
Diffstat (limited to 'dashboard/config/linux/android-5.4.sysctl')
-rw-r--r--dashboard/config/linux/android-5.4.sysctl19
1 files changed, 19 insertions, 0 deletions
diff --git a/dashboard/config/linux/android-5.4.sysctl b/dashboard/config/linux/android-5.4.sysctl
new file mode 100644
index 000000000..fdb0a0421
--- /dev/null
+++ b/dashboard/config/linux/android-5.4.sysctl
@@ -0,0 +1,19 @@
+# This is part of deterministic hang/stall detection.
+# Don't change this without considering workqueue.watchdog_thresh,
+# CONFIG_RCU_CPU_STALL_TIMEOUT and CONFIG_DEFAULT_HUNG_TASK_TIMEOUT.
+kernel.watchdog_thresh = 55
+kernel.hung_task_check_interval_secs = 20
+# This gives more interesting coverage.
+net.core.bpf_jit_enable = 1
+# bpf_jit_kallsyms and disabling bpf_jit_harden are required
+# for unwinding through bpf functions.
+net.core.bpf_jit_kallsyms = 1
+net.core.bpf_jit_harden = 0
+# This is to provide more useful info in crash reports.
+kernel.kptr_restrict = 0
+kernel.softlockup_all_cpu_backtrace = 1
+# This is to restrict effects of recursive exponential mounts, for details see
+# "mnt: Add a per mount namespace limit on the number of mounts" commit.
+fs.mount-max = 100
+# Dumping all tasks to console can take too long.
+vm.oom_dump_tasks = 0