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/base.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dashboard/config/linux/bits/base.yml') diff --git a/dashboard/config/linux/bits/base.yml b/dashboard/config/linux/bits/base.yml index cec6fb19d..4d164d8bb 100644 --- a/dashboard/config/linux/bits/base.yml +++ b/dashboard/config/linux/bits/base.yml @@ -87,6 +87,8 @@ config: # CONFIG_REFCOUNT_FULL was removed in fb041bb7c0a9. - REFCOUNT_FULL: [-v5.5] + # Added in 919067cc845f ("net: add CONFIG_PCPU_DEV_REFCNT") and should appear in v5.13. + - PCPU_DEV_REFCNT: [n, linux-next] # This config does not add any debug checks (only debug output). - DEBUG_KOBJECT: n -- cgit mrf-deployment