why do we have atomic_unchecked_t and when should it be used?
sorry for the n00b question but im trying to understand the pax implementation so i can track the kernel bleeding edge.
it's a sort of design issue/bug in linux. the problem is that there's no distinction between the high level usage and the implementation of various types that need atomic accesses at the machine insn level. such high level usage includes reference counters, statistical counters, unique identifiers, bitflags, etc. so instead of having an API for refcount_t, statcount_t, etc, the kernel has only one API for atomic_t (and the 64 bit counterpart) and uses that single API for all these different purposes.biscuitman wrote:why do we have atomic_unchecked_t and when should it be used?
if by bleeding edge you mean .39, i'm just about to release a new patch .sorry for the n00b question but im trying to understand the pax implementation so i can track the kernel bleeding edge.