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

Use processor barrier in MemoryFence implementation to solve stress test failure #38

Open
wants to merge 2 commits into
base: celadon/u/mr0/master
Choose a base branch
from

Conversation

GangSecurity
Copy link
Contributor

No description provided.

Tracked-On: OAM-128405
Signed-off-by: Gang G Chen <[email protected]>
__volatile__("": : :"memory") is compiler barrier to tell compiler
don't reoder memory related instruction
__volatile__("mfence": : :"memory") is processor barrier that all
the RW instuction to complete before this instruction

This can sovle kernelflinger hang issue in boot stress test

Tracked-On: OAM-128405
Signed-off-by: Gang G Chen <[email protected]>
Signed-off-by: Alek Du <[email protected]>
@sysopenci
Copy link

Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web for more details.

@sysopenci
Copy link

FAILURE: Android CI has completed Engineering Build for this issue.Please check the linked Tracked-On issue/Android CI Web for more details.

@sysopenci sysopenci added Engineering Build Failed and removed Engineering Build Not Started Engineering Build Not Started labels Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants