zephyr/tests/kernel
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
..
boot_page_table x86: abstract toplevel page table pointer 2019-10-04 15:53:49 -07:00
common coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
context coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
critical coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
device tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
early_sleep coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
fatal coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
fifo coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
fp_sharing coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
gen_isr_table riscv32: rename to riscv 2019-08-02 13:54:48 -07:00
interrupt coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
lifo coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
mbox coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
mem_heap/mheap_api_concept malloc: make sure returned memory is properly aligned 2019-07-03 14:17:29 -07:00
mem_pool tests/mem_pool_threadsafe: use actual minimum mempool block size 2019-10-09 17:45:40 -05:00
mem_protect coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
mem_slab coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
mp tests/kernel/mp: Update the MP test to run on emulated platforms 2019-10-06 12:53:28 -04:00
msgq/msgq_api coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
mutex coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
obj_tracing coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
pending coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
pipe test_pipe_contexts: don't free memory blocks handed to k_pipe_block_put 2019-10-09 11:15:46 -07:00
poll coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
profiling/profiling_api tests: Never disable SMP 2019-09-26 16:54:06 -04:00
queue coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
sched coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
semaphore coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
sleep coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
smp coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
spinlock coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
stack coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
threads coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
tickless coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
timer coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
workq coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
xip x86: fix XIP SOC support and defaults 2019-09-11 21:11:38 -04:00