Re: [PATCH] once: switch to new jump label API

From: Hannes Frederic Sowa
Date: Tue Aug 22 2017 - 14:44:50 EST


Eric Biggers <ebiggers3@xxxxxxxxx> writes:

> From: Eric Biggers <ebiggers@xxxxxxxxxx>
>
> Switch the DO_ONCE() macro from the deprecated jump label API to the new
> one. The new one is more readable, and for DO_ONCE() it also makes the
> generated code more icache-friendly: now the one-time initialization
> code is placed out-of-line at the jump target, rather than at the inline
> fallthrough case.
>
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>

Acked-by: Hannes Frederic Sowa <hannes@xxxxxxxxxxxxxxxxxxxx

Thanks!