Improve DIAG 9c observability
Status from this message: Thanks applied. I changed the subject to "KVM: s390:" for both patches.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 3 repliesApplied
- v22 patches 8 repliesSuperseded
- v12 patches 4 repliesSuperseded
Changes in v3 from the cover letter
- Patch 2: Remove duplicated target_cpu and target_vcpu fields
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | s390/kvm: Refactor __diag_time_slice_end_directed for single exit pointarch/ | +10 | 1 reply | |
| 2/2 | s390/kvm: Add tracepoint for DIAG 9c directed yield operationsarch/ arch/ | +27 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Christian Borntraeger |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/2] Improve DIAG 9c observability
This series enhances observability for DIAG 9c directed yield operations in s390 KVM by refactoring the handler and adding comprehensive tracing support.
The first patch refactors __diag_time_slice_end_directed() to use a single exit point with a result string variable. This consolidates the control flow and eliminates code duplication in logging statements, making the function more maintainable.
The second patch builds on this refactoring by adding a new tracepoint kvm_s390_diag_9c that captures detailed information about directed yield operations, including target vcpu, target physical CPU, and operation results. This enables better analysis of VCPU scheduling behaviour and helps diagnose performance issues in virtualised s390 environments.
Together, these changes provide kernel developers and system administrators with better tools to understand and debug VCPU scheduling patterns related to directed yields.
---
Changes in v3:
- Patch 2: Remove duplicated target_cpu and target_vcpu fields
Changes in v2:
- Add system maintainers to review mail
Ciunas Bennett (2):
s390/kvm: Refactor __diag_time_slice_end_directed for single exit
point
s390/kvm: Add tracepoint for DIAG 9c directed yield operations
arch/s390/kvm/diag.c | 19 +++++++++++-------- arch/s390/kvm/trace.h | 26 ++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 8 deletions(-)
base-commit: 1590cf0329716306e948a8fc29f1d3ee87d3989f
Signature · 1 line
2.54.0