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> |
||
|---|---|---|
| .. | ||
| src | ||
| CMakeLists.txt | ||
| prj.conf | ||
| testcase.yaml | ||