nuttx/mm/mempool
dongjiuzhu1 5c0a5a6627 mm/mempool: support memalign about mempool and mulitple mempool
The memalign is special to multiple mempool because multiple mempool
doesn't support split and shrink chunk operate. So When you alloc a
memory block and find an aligned address in this block, you need to
occupy 8 bytes before the address to save the address of the padding
size and pool to ensure correct use in realloc and free operations.
So we will use bit1 in the previous address of the address to represent
that it is applied by memalign.

Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-01-15 20:05:55 +08:00
..
Make.defs mm/mempool: Remove MM_MEMPOOL option from Kconfig 2022-11-08 10:18:27 -03:00
mempool_multiple.c mm/mempool: support memalign about mempool and mulitple mempool 2023-01-15 20:05:55 +08:00
mempool_procfs.c mm/mempool: support multiple memory pool 2022-10-28 21:31:35 +08:00
mempool.c mm/mempool: support memalign about mempool and mulitple mempool 2023-01-15 20:05:55 +08:00