* Michael Ellerman <m...@ellerman.id.au> [2019-12-13 14:50:35]:

> Waiman Long suggested using static_keys.
> 
> Fixes: 247f2f6f3c70 ("sched/core: Don't schedule threads on pre-empted vCPUs")
> Cc: sta...@vger.kernel.org # v4.18+
> Reported-by: Parth Shah <pa...@linux.ibm.com>
> Reported-by: Ihor Pasichnyk <ihor.pasich...@ibm.com>
> Tested-by: Juri Lelli <juri.le...@redhat.com>
> Acked-by: Waiman Long <long...@redhat.com>
> Reviewed-by: Gautham R. Shenoy <e...@linux.vnet.ibm.com>
> Signed-off-by: Srikar Dronamraju <sri...@linux.vnet.ibm.com>
> Acked-by: Phil Auld <pa...@redhat.com>
> Reviewed-by: Vaidyanathan Srinivasan <sva...@linux.ibm.com>
> Tested-by: Parth Shah <pa...@linux.ibm.com>
> [mpe: Move the key and setting of the key to pseries/setup.c]
> Signed-off-by: Michael Ellerman <m...@ellerman.id.au>
> ---
>  arch/powerpc/include/asm/spinlock.h    | 4 +++-
>  arch/powerpc/platforms/pseries/setup.c | 7 +++++++
>  2 files changed, 10 insertions(+), 1 deletion(-)
> 

Tested with your version of the patch and its working as expected

Latency percentiles (usec)
        50.0th: 45
        75.0th: 63
        90.0th: 74
        95.0th: 78
        *99.0th: 82
        99.5th: 83
        99.9th: 86
        min=0, max=96
Latency percentiles (usec)
        50.0th: 46
        75.0th: 64
        90.0th: 75
        95.0th: 79
        *99.0th: 83
        99.5th: 85
        99.9th: 91
        min=0, max=117
Latency percentiles (usec)
        50.0th: 46
        75.0th: 64
        90.0th: 75
        95.0th: 79
        *99.0th: 83
        99.5th: 84
        99.9th: 90
        min=0, max=95
Latency percentiles (usec)
        50.0th: 47
        75.0th: 65
        90.0th: 75
        95.0th: 79
        *99.0th: 84
        99.5th: 85
        99.9th: 90
        min=0, max=117
Latency percentiles (usec)
        50.0th: 45
        75.0th: 64
        90.0th: 75
        95.0th: 79
        *99.0th: 82
        99.5th: 83
        99.9th: 93
        min=0, max=111


-- 
Thanks and Regards
Srikar Dronamraju

Reply via email to