Re: [PATCH 00/19] Context switch improvements
From: Anshuman Khandual <hidden>
Date: 2015-12-02 08:42:50
From: Anshuman Khandual <hidden>
Date: 2015-12-02 08:42:50
On 10/29/2015 06:13 AM, Anton Blanchard wrote:
Here are various improvements to our context switch path. Some of the
highlights:
- Group all mfsprs and mtsprs in __switch_to(), which gives us a
10% improvement on POWER8.
- Create giveup_all() and flush_all_to_thread() so we only write the
MSR once, which gives us a 3% improvement on POWER8.
- Create disable_kernel_{fp,altivec,vsx,spe}() and add a debug boot
option (ppc_strict_facility_enable) to minimise kernel code running
with floating point and vector bits enabled.
- Make giveup_vsx() and flush_vsx_to_thread() handle FP and Altivec
state, so they behave more like their sister functions.
Scott: There are changes to the SPE code here which I have only been
able to compile test.Hey Anton, Wondering if you have a git tree hosted some where to pull these patches ? -- Anshuman