Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Daniel Leung <[email protected]>
- Loading branch information