nuttx/mm/mm_heap
dongjiuzhu1 c82f44c4f3 mm/mm_heap: add mempool to optimize small block performance
There are many small memory block in NuttX system, eg: struct tcb_s,
struct inode, etc, and several disadvantages about them:
1.Their frequent allocate and free cause the system memory fragmentation.
2.Since each memory block has an overhead, the utilization of small memory
blocks is relatively low, which will cause memory waste.

So we can use mempool to alloc smallo block, to improve alloc speed
and utilization, to reduce fragmentation.

Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-01-16 20:32:17 +08:00
..
Make.defs Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
mm_addfreechunk.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
mm_brkaddr.c mm: Remove mm_heap_impl_s struct 2021-07-07 04:25:15 -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_checkcorruption: using mm_foreach to do mm_checkcorruption 2022-02-13 03:20:31 +08:00
mm_extend.c mm/heap: Fix the minor style issue 2023-01-08 01:25:18 +02:00
mm_foreach.c mm/heap: Changee mmchunk_handler_t to mm_node_handler_t 2023-01-08 01:25:18 +02:00
mm_free.c mm/mm_heap: add mempool to optimize small block performance 2023-01-16 20:32:17 +08:00
mm_heapmember.c mm: Remove mm_heap_impl_s struct 2021-07-07 04:25:15 -07:00
mm_initialize.c mm/mm_heap: add mempool to optimize small block performance 2023-01-16 20:32:17 +08:00
mm_lock.c sched/task/task_getpid: getpid should return process id not thread id 2022-11-17 17:58:08 +08:00
mm_mallinfo.c Suppress -Wsign-compare warning on a few places 2022-12-26 18:23:41 +08:00
mm_malloc_size.c mm/mm_heap: add mempool to optimize small block performance 2023-01-16 20:32:17 +08:00
mm_malloc.c mm/mm_heap: add mempool to optimize small block performance 2023-01-16 20:32:17 +08:00
mm_memalign.c mm/mm_heap: add mempool to optimize small block performance 2023-01-16 20:32:17 +08:00
mm_memdump.c mm/mm_heap: change CONFIG_MM_BACKTRACE to int type 2022-07-26 23:45:31 +08:00
mm_realloc.c mm/mm_heap: add mempool to optimize small block performance 2023-01-16 20:32:17 +08:00
mm_shrinkchunk.c mm/heap: Fix the minor style issue 2023-01-08 01:25:18 +02:00
mm_size2ndx.c mm_size2ndx: using flsl to calculate the ndx 2022-11-23 13:19:41 +08:00
mm_zalloc.c mm: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
mm.h mm/mm_heap: add mempool to optimize small block performance 2023-01-16 20:32:17 +08:00