summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Marangi2025-03-06 11:19:40 +0000
committerChristian Marangi2025-03-19 08:32:40 +0000
commitdc84b287b5df0adac9818645e016f5d16cab417d (patch)
tree1cd1013df98f75860f48bdab81f482ef6886fc84
parent081ff3eee230202c42958be0d341057244aa0ec1 (diff)
downloadopenwrt-dc84b287b5df0adac9818645e016f5d16cab417d.tar.gz
generic: globally enable CONFIG_PCPU_DEV_REFCNT
Quoting the kconfig description for CONFIG_PCPU_DEV_REFCNT: network device refcount are using per cpu variables if this option is set. This can be forced to N to detect underflows (with a performance drop). This was introduced from kernel 5.13 and was wrongly set as disabled. Some target actually enables it but this should be always enabled unless refcount needs to be debugged (unlikely for production images) Enable in generic and drop the entry in every other target. Link: https://github.com/openwrt/openwrt/pull/18174 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commit ea6f3e49d6509f3bddb43364cf7225b4935fee82) [ adapt for kernel 5.15 ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
-rw-r--r--target/linux/generic/config-5.152
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/config-5.15 b/target/linux/generic/config-5.15
index fd386467ef..8fe2db33ac 100644
--- a/target/linux/generic/config-5.15
+++ b/target/linux/generic/config-5.15
@@ -4658,7 +4658,7 @@ CONFIG_PCI_SYSCALL=y
# CONFIG_PCMCIA_XIRC2PS is not set
# CONFIG_PCMCIA_XIRCOM is not set
# CONFIG_PCNET32 is not set
-# CONFIG_PCPU_DEV_REFCNT is not set
+CONFIG_PCPU_DEV_REFCNT=y
# CONFIG_PCSPKR_PLATFORM is not set
# CONFIG_PCS_XPCS is not set
# CONFIG_PD6729 is not set