zephyr/tests/subsys/rtio/rtio_api
Yuval Peress 3fd0a1508b rtio: fix bug in mempool release API
It was previously assumed that the 'sys_mem_blocks' struct would maintain
information about contiguous blocks allocated so the release API only
took the starting address. This led to an issue where allocating 2+
blocks would end up with a memory leak because any block not being the
first would never be released.

Add the buffer length as an argument so the correct number of blocks can
be released. Also, ammend the tests to match and verify.

Signed-off-by: Yuval Peress <peress@google.com>
2023-05-01 09:26:06 -05:00
..
src rtio: fix bug in mempool release API 2023-05-01 09:26:06 -05:00
CMakeLists.txt tests: rtio: Split test suites up into files 2023-03-17 12:49:57 -05:00
prj.conf rtio: Add a managed memory pool for reads 2023-04-10 18:34:43 -04:00
testcase.yaml tests: rtio: remove subsys from test identifer 2023-03-10 14:01:59 +02:00