Skip to content

Add save-area size helper API#78

Open
k8ika0s wants to merge 1 commit into
IBM:mainfrom
k8ika0s:qe/issue-09-save-area-size-api
Open

Add save-area size helper API#78
k8ika0s wants to merge 1 commit into
IBM:mainfrom
k8ika0s:qe/issue-09-save-area-size-api

Conversation

@k8ika0s
Copy link
Copy Markdown

@k8ika0s k8ika0s commented Apr 15, 2026

Fixes #48

Summary

  • Add save-area size helper API.

Why

Changes

  • Implemented on branch qe/issue-09-save-area-size-api.
  • Includes code and tests scoped to this issue.

Validation

  • s390x integrated battery pass recorded in artifacts/final-validation-20260212T173158Z.
  • Targeted regressions for this scope were validated during branch prep.

Notes

  • DCO signoffs are present on branch commits.

What: Add a public helper to compute required save_area bytes for supported operations.

Why: Integrators need deterministic preallocation to avoid hidden runtime allocations and reduce latency variance.

Expected impact: Simpler caller memory management and reduced allocator pressure; additive API.

Tests: add coverage for save_area sizing and invalid inputs (tests/testDriver_save_area_size_apis.c).
Signed-off-by: Kaitlyn Davis <k8ika0s@gmail.com>
Signed-off-by: Kaitlyn Davis <kaitlyn.davis@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Add Save-Area Size Helper API (Caller Preallocation)

1 participant