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

From: Shrikanth Hegde
Date: Tue Dec 10 2024 - 06:23:27 EST




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@xxxxxxxxxxxxx/
v1: https://lore.kernel.org/all/20241108101853.277808-1-sshegde@xxxxxxxxxxxxx/

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.