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

mm/mm_heap/mm_initialize.c: add sem lock to mm_addregion() #1758

Merged
merged 1 commit into from
Sep 14, 2020

Conversation

GUIDINGLI
Copy link
Contributor

@GUIDINGLI GUIDINGLI commented Sep 11, 2020

Summary

mm/mm_heap/mm_initialize.c: add sem lock to mm_addregion()

Impact

add sem lock to mm_addregion(), in case someone called mm_addregion() after thread scheduling

Testing

Change-Id: I4a72e36fcd4504c0d8e671fe2243b14764db3b35
@protobits
Copy link
Contributor

@GUIDINGLI please fill the PR description fields, it is important to understand what is the problem you're trying to fix and evaluate the fix itself.

@protobits protobits added this to the v10.0 milestone Sep 13, 2020
@GUIDINGLI
Copy link
Contributor Author

@v01d done

@masayuki2009
Copy link
Contributor

LGTM

@masayuki2009 masayuki2009 merged commit 6b7dd62 into apache:master Sep 14, 2020
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