[PATCH v2 0/2] powerpc: Enable lazy preemption

Shrikanth Hegde sshegde at linux.ibm.com
Tue Dec 10 22:22:35 AEDT 2024



On 11/17/24 00:53, Shrikanth Hegde wrote:
> preempt=lazy has been merged into tip[1]. Lets Enable it for PowerPC.
> 
> This has been very lightly tested and as michael suggested could go
> through a test cycle. If needed, patches can be merged. I have kept it
> separate for easier bisect.
> 
> Lazy preemption support for kvm on powerpc is still to be done.
> 
> Refs:
> [1]: https://lore.kernel.org/lkml/20241007074609.447006177@infradead.org/
> v1: https://lore.kernel.org/all/20241108101853.277808-1-sshegde@linux.ibm.com/
> 
> Changes since v1:
> - Change for vmx copy as suggested by Sebastian.
> - Add rwb tags
> 
> Shrikanth Hegde (2):
>    powerpc: Add preempt lazy support
>    powerpc: Large user copy aware of full:rt:lazy preemption
> 
>   arch/powerpc/Kconfig                   | 1 +
>   arch/powerpc/include/asm/thread_info.h | 9 ++++++---
>   arch/powerpc/kernel/interrupt.c        | 4 ++--
>   arch/powerpc/lib/vmx-helper.c          | 2 +-
>   4 files changed, 10 insertions(+), 6 deletions(-)
> 

Hi mpe, maddy.

I see the lazy scheduling related changes are in powerpc tree.
If there are no objections, can we please add support for lazy 
preemption so it goes through a cycle?

Let me know your thoughts.


More information about the Linuxppc-dev mailing list