mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 09:05:55 +00:00
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> |
||
---|---|---|
.. | ||
application_development | ||
arch | ||
benchmarks | ||
bluetooth | ||
boards | ||
crypto | ||
drivers | ||
kernel | ||
lib | ||
misc/test_build | ||
net | ||
portability | ||
posix | ||
shell | ||
subsys | ||
unit | ||
ztest |