Commit bda38f03 authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

tests: mem_map: fix memory exhaustion test on qemu_x86_tiny



The test_k_mem_map_unmap test requires some free physical pages
to work correctly. On qemu_x86_tiny, the physical memory is
artificially limited to test demand paging, which is 320KB as
of writing of this commit message. We also reserve 128KB of
physical memory as swapping area. And we do pin quite lot of
text and data (relatively speaking) in memory. There is not
much memory left for the test. So lower the amount of reserved
memory for paging to leave some pages for the test.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 405c6718
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment