CONFIG_ARCH_HAS_REFCOUNT (not configurable)
configname: CONFIG_ARCH_HAS_REFCOUNT
Linux Kernel Configuration
└─>ARCH_HAS_REFCOUNT
In linux kernel since version 3.10 (release Date: 2013-06-30)
An architecture selects this when it has implemented refcount_t
using open coded assembly primitives that provide an optimized
refcount_t implementation, possibly at the expense of some full
refcount state checks of CONFIG_REFCOUNT_FULL=y.
The refcount overflow check behavior, however, must be retained.
Catching overflows is the primary security concern for protecting
against bugs in reference counts.
using open coded assembly primitives that provide an optimized
refcount_t implementation, possibly at the expense of some full
refcount state checks of CONFIG_REFCOUNT_FULL=y.
The refcount overflow check behavior, however, must be retained.
Catching overflows is the primary security concern for protecting
against bugs in reference counts.