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

Fix 64-bit alignment of 64-bit words accessed atomically on ARM #81

Closed
buraksezer opened this issue Feb 20, 2021 · 0 comments
Closed

Fix 64-bit alignment of 64-bit words accessed atomically on ARM #81

buraksezer opened this issue Feb 20, 2021 · 0 comments
Assignees
Labels
bug Something isn't working release:v0.3.x Issues related with v0.3.x

Comments

@buraksezer
Copy link
Owner

buraksezer commented Feb 20, 2021

See caddyserver/cache-handler-11 for details.

From sync/atomic documentation:

On ARM, 386, and 32-bit MIPS, it is the caller's responsibility to arrange for 64-bit alignment of 64-bit words accessed atomically. The first word in a variable or in an allocated struct, array, or slice can be relied upon to be 64-bit aligned.

@buraksezer buraksezer self-assigned this Feb 20, 2021
@buraksezer buraksezer added the bug Something isn't working label Feb 20, 2021
@buraksezer buraksezer added the release:v0.3.x Issues related with v0.3.x label Feb 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working release:v0.3.x Issues related with v0.3.x
Projects
None yet
Development

No branches or pull requests

1 participant