Linux cryptographic layer development
 help / color / mirror / Atom feed
* [PATCH v3 0/4] s390: Remove or replace cond_resched() calls
@ 2026-07-30  5:29 Heiko Carstens
  2026-07-30  5:29 ` [PATCH v3 1/4] s390/crypto: Replace cond_resched() with msleep(1) Heiko Carstens
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Heiko Carstens @ 2026-07-30  5:29 UTC (permalink / raw)
  To: Alexander Gordeev, Sven Schnelle, Vasily Gorbik,
	Christian Borntraeger, Harald Freudenberger, Holger Dengler,
	Vineeth Vijayan, Peter Oberparleiter, Janosch Frank,
	Claudio Imbrenda, David Hildenbrand, Peter Zijlstra, Herbert Xu
  Cc: linux-s390, linux-kernel, linux-crypto

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-07-30 10:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-30  5:29 [PATCH v3 0/4] s390: Remove or replace cond_resched() calls Heiko Carstens
2026-07-30  5:29 ` [PATCH v3 1/4] s390/crypto: Replace cond_resched() with msleep(1) Heiko Carstens
2026-07-30  7:47   ` Holger Dengler
2026-07-30 10:11   ` Peter Zijlstra
2026-07-30  5:29 ` [PATCH v3 2/4] KVM: s390: Remove cond_resched() calls Heiko Carstens
2026-07-30  8:51   ` Claudio Imbrenda
2026-07-30  5:29 ` [PATCH v3 3/4] " Heiko Carstens
2026-07-30  5:29 ` [PATCH v3 4/4] s390/cio: " Heiko Carstens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox