[PATCH v3 0/4] s390: Remove or replace cond_resched() calls

From: Heiko Carstens

Date: Thu Jul 30 2026 - 01:33:33 EST


v3:
- Drop uv_call_sched() [Claudio Imbrenda]

v2:
- Use msleep() in crypto code (Holger Dengler)
- Add Reviewed-by tag from Peter Oberparleiter

v1:
Since [1] it is only possible to select the PREEMPT or PREEMPT_LAZY
preemption models for s390. This has caused some minor problems, but
everything has been addressed.

Given that for both preemption models cond_resched() is a no-op remove
or replace it everywhere.

[1] commit 7dadeaa6e851 ("sched: Further restrict the preemption modes")

Heiko Carstens (4):
s390/crypto: Replace cond_resched() with msleep(1)
KVM: s390: Remove cond_resched() calls
s390: Remove cond_resched() calls
s390/cio: Remove cond_resched() calls

arch/s390/crypto/paes_s390.c | 8 ++++----
arch/s390/crypto/phmac_s390.c | 4 ++--
arch/s390/include/asm/uv.h | 16 ++--------------
arch/s390/kernel/perf_cpum_cf.c | 1 -
arch/s390/kernel/uv.c | 2 +-
arch/s390/kvm/gaccess.c | 8 ++------
arch/s390/kvm/gmap.c | 4 ----
arch/s390/kvm/kvm-s390.c | 1 -
arch/s390/kvm/pv.c | 11 +++++------
arch/s390/kvm/vsie.c | 1 -
arch/s390/mm/cmm.c | 2 --
arch/s390/mm/gmap_helpers.c | 1 -
arch/s390/mm/pageattr.c | 5 -----
arch/s390/mm/pgalloc.c | 1 -
arch/s390/pci/pci.c | 4 +---
drivers/s390/char/uvdevice.c | 6 +++---
drivers/s390/cio/css.c | 8 --------
17 files changed, 20 insertions(+), 63 deletions(-)

--
2.53.0