openwrt/target
Christian Marangi dc84b287b5
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 ea6f3e49d6)
[ adapt for kernel 5.15 ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-03-19 09:32:40 +01:00
..
imagebuilder ib: split out processing user provided packages 2023-07-15 22:24:50 +02:00
linux generic: globally enable CONFIG_PCPU_DEV_REFCNT 2025-03-19 09:32:40 +01:00
llvm-bpf llvm-bpf: fix rebuild check for generating tarball 2021-11-26 11:37:19 +01:00
sdk sdk: include lib/crtsavres.o for powerpc 2024-04-09 11:25:41 +02:00
toolchain treewide: add ORIG_PATH variable 2023-06-12 22:10:20 +02:00
Config.in generic: groundwork for RISC-V 2023-06-14 09:22:08 +02:00
Makefile build: add $(STAGING_DIR) and $(BIN_DIR) preparation to target and package subdir compile dependencies 2024-03-03 23:17:03 +01:00