Re: [PATCH -v2 0/8] jump_label: Another (better) static_key interface

From: Peter Zijlstra
Date: Wed Jul 29 2015 - 04:59:10 EST


On Wed, Jul 29, 2015 at 08:46:00AM +0200, Heiko Carstens wrote:
> On Tue, Jul 28, 2015 at 03:20:55PM +0200, Peter Zijlstra wrote:
> > Hi all,
> >
> > After yet another bug because of the weirdness of the static key interface,
> > here an attempt at providing a better one.
> >
> > This series is tested on x86_64 (by me) and s390x (heiko).
>
> Works nice. You may include the s390 patch below, so the conversion to the
> new interface happens when your code gets merged:
>
> From 3c9b5a2b9a90d6bb2b41f381f5f89b3657fe4ea5 Mon Sep 17 00:00:00 2001
> From: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
> Date: Wed, 29 Jul 2015 08:31:24 +0200
> Subject: [PATCH] s390/uaccess: employ static_branch_likely()
>
> Use the new static_branch_likely() primitive to make sure that the
> most likely case is executed without taking an unconditional branch.
> This wasn't possible with the old jump label primitives.
>
> Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>

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/