-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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: Add CONFIG_MM_NODE_PENDING configuration #15484
base: master
Are you sure you want to change the base?
Conversation
[Experimental Bot, please feedback here] This PR does not fully meet the NuttX requirements yet. While it provides a basic description of the change, it lacks crucial details in the Impact and Testing sections. Here's a breakdown of what's missing:
In short, the PR needs to be significantly more detailed before it can be properly reviewed. Filling in the missing information in the Impact and Testing sections is crucial. The Summary section could also benefit from more context. |
what are you trying to fix with this? |
The new feature arm64 MTE is added, "#15461" requires that the allocated block address must be 16-byte aligned and the size must also be 16-byte aligned. Our current memory management does not meet the requirements.Adding this alignment can solve this problem |
b45cc31
to
84db21f
Compare
After it is enabled, the preceding member of the next node will no longer belong to the valid area of the previous alloc node. Due to the existence of precedence, the memory block size of the node can only be aligned with sizeof(mmsize_t). This configuration will be applied in the following scenarios: ARM64 MTE hardware tag KASan, which requires the tag's memory address to be 16-byte aligned and the memory size must also be 16-byte aligned Signed-off-by: wangmingrong1 <[email protected]>
Summary
After it is enabled, the preceding member of the next node will no longer belong to the valid area of the previous alloc node.
Due to the existence of the preceding member, the memory block size of the node can only be aligned with sizeof(mmsize_t).
This configuration will be applied in the following scenarios:
ARM64 MTE hardware tag KASan, which requires the tag's memory address to be 16-byte aligned and the memory size must also be 16-byte aligned
Impact
The new feature arm64 MTE is added, "#15461" requires that the allocated block address must be 16-byte aligned and the size must also be 16-byte aligned. Our current memory management does not meet the requirements.
Testing
CI