From 1e99e36f41fbce4e003dfb8e80810fe0b7da7981 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 26 Mar 2021 09:28:17 +0100 Subject: dashboard/config/linux: disable CONFIG_PCPU_DEV_REFCNT, add netdev_unregister_timeout_secs Disable CONFIG_PCPU_DEV_REFCNT, it should provide refcount underflow detection. Set netdev_unregister_timeout_secs to the timeout used for task hung detection, it should avoid false "unregister_netdevice: waiting for DEV to become free" crashes. --- dashboard/config/linux/bits/arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dashboard/config/linux/bits/arm.yml') diff --git a/dashboard/config/linux/bits/arm.yml b/dashboard/config/linux/bits/arm.yml index e53da4dde..a67e4f954 100644 --- a/dashboard/config/linux/bits/arm.yml +++ b/dashboard/config/linux/bits/arm.yml @@ -8,7 +8,7 @@ shell: config: # We reduce number of vivid/netrom/rose/hcd devices to 2 because we use at most 2 procs # with emulation and creating these devices takes time during boot. - - CMDLINE: [append, "root=/dev/vda console=ttyAMA0 vmalloc=512M watchdog_thresh=165 workqueue.watchdog_thresh=420 dummy_hcd.num=2"] + - CMDLINE: [append, "root=/dev/vda console=ttyAMA0 vmalloc=512M watchdog_thresh=165 workqueue.watchdog_thresh=420 sysctl.net.core.netdev_unregister_timeout_secs=420 dummy_hcd.num=2"] - CMDLINE_EXTEND # See the comment in x86_64.yml re these numbers. - RCU_CPU_STALL_TIMEOUT: 300 -- cgit mrf-deployment