On Thursday 09 July 2015 11:26 PM, Peter Zijlstra wrote:
> Implement atomic logic ops -- atomic_{or,xor,and}.
>
> These will replace the atomic_{set,clear}_mask functions that are
> available on some archs.
>
> Signed-off-by: Peter Zijlstra (Intel) <[email protected]>Acked-by: Vineet Gupta <[email protected]> Since we are on the topic, the cmpxchg() loop in arch/arc/kernel/smp.c still irritates me. Do we need a new set of primitives to operate atomically on non atomic_t data or does that mean that the data *not* being atomic_t but requiring such semantics is the fundamental problem and thus needs to be converted first. -Vineet -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

