]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/functional/x86_64: Accept a few locked pages in test_memlock.py
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 15 Sep 2025 18:48:03 +0000 (11:48 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 16 Sep 2025 16:55:52 +0000 (09:55 -0700)
commitaa3c761c7095476acde9b7140cc1dfff2ee0e170
tree73361711ccfb9ea79d4ecee48d6d9097b57a4d11
parent190d5d7fd725ff754f94e8e0cbfb69f279c82b5d
tests/functional/x86_64: Accept a few locked pages in test_memlock.py

Startup of libgcrypt locks a small pool of pages -- by default 16k.
Testing for zero locked pages is isn't correct, while testing for
32k is a decent compromise.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tests/functional/x86_64/test_memlock.py