-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Memory delay free kasan error fix and memory note fix #13898
base: master
Are you sure you want to change the base?
Conversation
[Experimental Bot, please feedback here] NuttX PR Requirements ReviewThis PR generally meets the NuttX requirements, but has some minor issues: Strengths:
Areas for Improvement:
Conciseness: The PR description is concise and to the point. Overall: This PR demonstrates a good understanding of the NuttX requirements. Addressing the testing details will further strengthen the submission. |
E.g.
|
rebase you PR, and try again |
f3865de
to
2f70e6c
Compare
3696370
to
74408bf
Compare
Signed-off-by: xuxingliang <xuxingliang@xiaomi.com>
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
mm_heap/mm_malloc.c: In function 'mm_malloc': mm_heap/mm_malloc.c:281:33: warning: excess elements in struct initializer 281 | MM_BACKTRACE_ALLOC_PID, 0, ULONG_MAX | ^ mm_heap/mm_malloc.c:281:33: note: (near initialization for 'dump') mm_heap/mm_malloc.c:281:36: warning: excess elements in struct initializer 281 | MM_BACKTRACE_ALLOC_PID, 0, ULONG_MAX | ^~~~~~~~~ mm_heap/mm_malloc.c:281:36: note: (near initialization for 'dump') Signed-off-by: hanqiyuan <hanqiyuan@xiaomi.com>
Summary
3. Remove CONFIG_MM_MAP_COUNT_MAX option. User should take care of it.It causesltp_interfaces_mmap_24_1
test to fail, remove this patch for now.Impact
Bug fixes should have no impact on existing projects.
Testing
Local tested with qemu.
Configure
Change CONFIG_MM_REGIONS = 1 to reduce the heap size, in order to make kasan faster.
Enable
Run
Result
memstress runs without kasan error.