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

Shrikanth Hegde sshegde at linux.ibm.com
Sun Nov 17 06:23:04 AEDT 2024


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(-)

-- 
2.43.5



More information about the Linuxppc-dev mailing list