nuttx/mm/mm_heap
ligd aa43a0215d mm: fix memory corruption when loop create/exit thread in SMP mode
Root casue:
when do thread exit, need add free stack operation to mm_delaylist,
but in SMP mode, CPU0 thread1 exit, at this time, CPU1 call malloc
and free mm_delaylist.

Fix:
Divide mm_delaylist for per CPU in SMP mode.

Change-Id: Ibf7d04614ea2f99fb5b506356b7346a0d94f0590
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-07-02 04:55:46 -05:00
..
Make.defs mm: add kconfig option to control the memory manger strategy choice. 2021-03-19 09:56:39 -07:00
mm_addfreechunk.c mm: Move mm_heap_s related stuff to private header file 2021-03-19 09:56:39 -07:00
mm_brkaddr.c mm: Move mm_heap_s related stuff to private header file 2021-03-19 09:56:39 -07:00
mm_calloc.c mm: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
mm_checkcorruption.c mm/mm_heap: fix compile failed when open DEBUG_MM 2021-03-30 01:14:37 -05:00
mm_extend.c mm: Move mm_heap_s related stuff to private header file 2021-03-19 09:56:39 -07:00
mm_free.c mm: fix memory corruption when loop create/exit thread in SMP mode 2021-07-02 04:55:46 -05:00
mm_heapmember.c mm: Move mm_heap_s related stuff to private header file 2021-03-19 09:56:39 -07:00
mm_initialize.c mm: fix memory corruption when loop create/exit thread in SMP mode 2021-07-02 04:55:46 -05:00
mm_mallinfo.c cmd/free: add nused/nfree field in command free 2021-05-25 01:01:38 -07:00
mm_malloc_usable_size.c mm: Move mm_heap_s related stuff to private header file 2021-03-19 09:56:39 -07:00
mm_malloc.c mm: fix memory corruption when loop create/exit thread in SMP mode 2021-07-02 04:55:46 -05:00
mm_memalign.c libc: Add additional checks to malloc realloc and memalign 2021-04-04 18:58:04 -07:00
mm_realloc.c libc: Add additional checks to malloc realloc and memalign 2021-04-04 18:58:04 -07:00
mm_sbrk.c mm: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
mm_sem.c mm: mm_heap: Remove critical section in mm_sem.c 2021-03-31 22:43:23 -05:00
mm_shrinkchunk.c mm: Move mm_heap_s related stuff to private header file 2021-03-19 09:56:39 -07:00
mm_size2ndx.c mm: Move mm_heap_s related stuff to private header file 2021-03-19 09:56:39 -07:00
mm_zalloc.c mm: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
mm.h mm: fix memory corruption when loop create/exit thread in SMP mode 2021-07-02 04:55:46 -05:00