Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
syscalls/process_madvise01: fix smaps scan and min_swap_avail
smaps matching can prematurely end, because the comparison to "VmFlags" string is not exact. So depending on address on line, it can break before it finds Swap line. This makes the test fail on recent aarch64 kernels. min_swap_avail per documentation is in MB not KB. Signed-off-by: Jan Stancek <[email protected]> Acked-by: Andrea Cervesato <[email protected]>
- Loading branch information