Re: [PATCH tip/locking/core] atomics: Add test for atomic operations with _relaxed variants

From: Peter Zijlstra
Date: Wed Nov 04 2015 - 06:37:57 EST


On Wed, Nov 04, 2015 at 06:52:45PM +0800, Boqun Feng wrote:
> Some atomic operations now have _relaxed/acquire/release variants, this
> patch then adds some trivial tests for two purpose:
>
> 1. test the behavior of these new operations in single-CPU
> environment.
>
> 2. make their code generated before we actually use them somewhere,
> so that we can examine their assembly code.
>
> Signed-off-by: Boqun Feng <boqun.feng@xxxxxxxxx>

Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/