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 mempool bug,when use MM_BACKTRACE #8511

Merged
merged 2 commits into from Feb 13, 2023

Conversation

anjiahao1
Copy link
Contributor

Summary

fix mempool bug,when use MM_BACKTRACE

Impact

mempool

Testing

Vela

bug 1: Use MM_BACLTRACE, calculated memory return address error.
bug 2: alist is not protected when traversing

@anjiahao1 anjiahao1 force-pushed the mempool_bug branch 2 times, most recently from a3f844e to 7ecd392 Compare February 12, 2023 15:01
include/nuttx/mm/mempool.h Outdated Show resolved Hide resolved
include/nuttx/mm/mempool.h Outdated Show resolved Hide resolved
caculate blk address when mempool_multiple_free
have a bug. need a real blocksize to caulate the
memory address.

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
@xiaoxiang781216 xiaoxiang781216 merged commit 7347684 into apache:master Feb 13, 2023
@jerpelea jerpelea added this to To-Add in Release Notes - 12.1.0 Apr 3, 2023
@jerpelea jerpelea moved this from To-Add to Added in Release Notes - 12.1.0 Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants