diff options
| author | Alexandr Moshkov <dtalexundeer@yandex-team.ru> | 2025-06-05 11:59:11 +0500 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2025-06-11 12:17:57 +0200 |
| commit | ec3a7a7150462b2d1be5b71c2e4fc6338366da25 (patch) | |
| tree | 3bfb79dd4f439fae66e675445e941139c1ac92ec /scripts/tracetool/backend/ust.py | |
| parent | 23c90999f64598439990f9a599d6cb25df90eccf (diff) | |
| download | focaccia-qemu-ec3a7a7150462b2d1be5b71c2e4fc6338366da25.tar.gz focaccia-qemu-ec3a7a7150462b2d1be5b71c2e4fc6338366da25.zip | |
tests/functional: add memlock tests
Add new tests to check the correctness of the `-overcommit memlock`
option (possible values: off, on, on-fault) by using
`/proc/{qemu_pid}/status` file to check in VmSize, VmRSS and VmLck
values:
* if `memlock=off`, then VmLck = 0;
* if `memlock=on`, then VmLck > 0 and almost all memory is resident;
* if `memlock=on-fault`, then VmLck > 0 and only few memory is resident.
Signed-off-by: Alexandr Moshkov <dtalexundeer@yandex-team.ru>
Message-ID: <20250605065908.299979-3-dtalexundeer@yandex-team.ru>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/tracetool/backend/ust.py')
0 files changed, 0 insertions, 0 deletions