Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i#5329: Fix tool.drcachesim.scattergather-x86 test failure #6313

Merged
merged 4 commits into from
Sep 19, 2023

Conversation

abhinav92003
Copy link
Contributor

@abhinav92003 abhinav92003 commented Sep 18, 2023

Avoids going over the atomic write size while waiting for enough entries to write to IPC pipe. If we find we went over, we just write till the last ok-to-split ref.

tool.drcachesim.scattergather-x86 worked fine 100x on local workstation with this fix.

This issue manifests on this test because some scatter-gather instruction has eight consecutive memrefs which puts us over the threshold suddenly without any opportunity to write the buffer before all the memrefs.

Fixes: #5329

Avoids going over the atomic write size while waiting for enough
entries to write to IPC pipe. If we find we went over, we just
write till the last ok-to-split ref.

Fixes: #5329
clients/drcachesim/tracer/output.cpp Show resolved Hide resolved
clients/drcachesim/tracer/output.cpp Outdated Show resolved Hide resolved
clients/drcachesim/tracer/output.cpp Outdated Show resolved Hide resolved
clients/drcachesim/tracer/output.cpp Show resolved Hide resolved
@abhinav92003 abhinav92003 changed the title i#5329: Fix tool.drcachesim.scattergather-x86 test failure. i#5329: Fix tool.drcachesim.scattergather-x86 test failure Sep 19, 2023
@abhinav92003
Copy link
Contributor Author

x86-64 api.rseq failure is #6313

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants