[Artful][powerpc][PATCH 0/4] Fixes for LP:1709220

Joseph Salisbury joseph.salisbury at canonical.com
Fri Aug 18 15:42:09 UTC 2017


On 08/18/2017 11:37 AM, Joseph Salisbury wrote:
> BugLink: http://bugs.launchpad.net/bugs/1709220
>
> == SRU Justification ==
> These four commits are Radix performance patches specific to powerpc.  
>
> The patches are reported to help anywhere from 40% up to 3.5X on unixbench fork/exec testcases.
>
> The first patch was included in mainlne as of 4.12-rc1.  The last three patches are
> still in linux-next.
>
> == Fixes ==
> commit a5998fcb92552a18713b6aa5c146aa400e4d75ee
> Author: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
> Date:   Wed Apr 26 21:38:17 2017 +1000
>
>     powerpc/mm/radix: Optimise tlbiel flush all case
>
> linux-next commit 5ce5fe14ed0302315061cf97ce67accd1b25b938
> Author: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> Date:   Wed Jul 19 14:49:04 2017 +1000
>
>     powerpc/mm/radix: Improve _tlbiel_pid to be usable for PWC flushes
>
> linux-next commit a46cc7a90fd8d95bfbb2b27080efe872a1a51db4
> Author: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> Date:   Wed Jul 19 14:49:05 2017 +1000
>
>     powerpc/mm/radix: Improve TLB/PWC flushes
>
> linux-next commit 424de9c6e3f89399fc11afc1f53f89c5329132da
> Author: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> Date:   Wed Jul 19 14:49:06 2017 +1000
>
>     powerpc/mm/radix: Avoid flushing the PWC on every flush_tlb_range
>
>
>
> == Regression Potential ==
> Low since changes are specific to powerpc.
>
> == Test Case ==
> A test kernel was built with these patches and tested by the original bug reporter.
>
> Aneesh Kumar K.V (1):
>   powerpc/mm/radix: Optimise tlbiel flush all case
>
> Benjamin Herrenschmidt (3):
>   powerpc/mm/radix: Improve _tlbiel_pid to be usable for PWC flushes
>   powerpc/mm/radix: Improve TLB/PWC flushes
>   powerpc/mm/radix: Avoid flushing the PWC on every flush_tlb_range
>
>  .../powerpc/include/asm/book3s/64/tlbflush-radix.h |   5 +-
>  arch/powerpc/mm/pgtable-radix.c                    |   5 +-
>  arch/powerpc/mm/tlb-radix.c                        | 124 +++++++++++++--------
>  3 files changed, 85 insertions(+), 49 deletions(-)
>
Patches 2, 3 and 4 will also me needed in Artful, since they are still
in linux-next.





More information about the kernel-team mailing list