zephyr/tests/kernel/mem_pool
Nicolas Pitre 923a909db8 tests/mem_pool_threadsafe: use actual minimum mempool block size
On 64-bit targets, the minimum possible mempool block size is not 8
but 16. With a max block size of 32, the mempool allocator cannot
split it into 4 sub-blocks, reducing the available memory allocations
to that original 32-byte block only.

To get the same allocation patterns and test behavior whether it is
built for a 32-bit or 64-bit architecture, let's define BLK_SIZE_MIN
and BLK_SIZE_MAX in terms of _MPOOL_MINBLK instead of literal values.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2019-10-09 17:45:40 -05:00
..
mem_pool coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
mem_pool_api memslab/mempool: make tests 64-bit compatible 2019-06-11 09:38:06 -07:00
mem_pool_concept coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
mem_pool_threadsafe tests/mem_pool_threadsafe: use actual minimum mempool block size 2019-10-09 17:45:40 -05:00
sys_mem_pool cleanup: include/: move misc/mempool.h to sys/mempool.h 2019-06-27 22:55:49 -04:00