Skip to content

Add reusable scratch-buffer reserve/release APIs#80

Open
k8ika0s wants to merge 1 commit into
IBM:mainfrom
k8ika0s:qe/issue-11-scratch-buffer-apis
Open

Add reusable scratch-buffer reserve/release APIs#80
k8ika0s wants to merge 1 commit into
IBM:mainfrom
k8ika0s:qe/issue-11-scratch-buffer-apis

Conversation

@k8ika0s
Copy link
Copy Markdown

@k8ika0s k8ika0s commented Apr 15, 2026

Fixes #50

Summary

  • Add reusable scratch-buffer reserve/release APIs.

Why

Changes

  • Implemented on branch qe/issue-11-scratch-buffer-apis.
  • 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 caller-managed scratch buffer type with reserve/release APIs.

Why: Enable integrators to reuse aligned scratch storage across calls to reduce malloc/free overhead and latency spikes.

Expected impact: Lower allocator pressure and more predictable performance; opt-in API with no default behavior change.

Tests: add coverage for reserve/release behavior (tests/testDriver_scratch_buffer_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 Reusable Scratch-Buffer Reserve/Release APIs

1 participant