generic: globally enable CONFIG_PCPU_DEV_REFCNT
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 6 Mar 2025 11:19:40 +0000 (12:19 +0100)
committerRobert Marko <robimarko@gmail.com>
Sat, 8 Mar 2025 10:33:56 +0000 (11:33 +0100)
commitea6f3e49d6509f3bddb43364cf7225b4935fee82
tree0592812c27599934deba476f120fd6510f92f1f8
parent213799e33e0518a30f6c22c2142060aba12fcf7d
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.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18174
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/d1/config-6.6
target/linux/generic/config-6.6
target/linux/loongarch64/config-6.6
target/linux/stm32/stm32mp1/config-6.6