Skip to content

[fix] [Issue 485]Fixed panic caused by memory not aligned in arm32 arch - #1286

Merged
hezhangjian merged 1 commit into
apache:masterfrom
reedkuang:inarm32
Sep 18, 2024
Merged

hezhangjian merged 1 commit into
apache:masterfrom
reedkuang:inarm32

Conversation

@reedkuang

@reedkuang reedkuang commented Sep 17, 2024 •

Copy link
Copy Markdown
Contributor

Motivation

Fixed panic caused by memory not aligned in arm32 arch.

Modifications

Move variable that uses 64-bit atomic operations to the front of the structure so that it is 64-bit aligned.

Verifying this change

  • Make sure that the change passes the CI checks.
    This change is a trivial rework / code cleanup without any test coverage.

Documentation

  • Does this pull request introduce a new feature? (no)

@hezhangjian hezhangjian left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this this useful for arm32 users

@hezhangjian

Copy link
Copy Markdown
Member

I think this will fix #485

@lhotari lhotari left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for contributing @dream-kzx

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.

3 participants