diff options
author | Kamil Konieczny <kamil.konieczny@linux.intel.com> | 2022-03-31 18:34:30 +0200 |
---|---|---|
committer | Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> | 2022-04-01 08:17:45 +0200 |
commit | b6805229aaf5c1d6c85ec35eebf3a41f8a12f66c (patch) | |
tree | d1154ce0db0ceaebeb631c884d08da81356ddaff /scripts/code_cov_gather_on_test.py | |
parent | 1420324ea8a2b77706dd9c999b8730c9041bf217 (diff) |
i915/gem_concurrent_all: fix swap subtest group
In error path in fixture add unlocking memory. In run_modes
there is already another subtest group which will guard against
igt_asserts or igt_requires, so do unpinning unconditionally
without fixture.
There are still some problems with the code, while we run swap
subtest we will race between other programs using memory so we
may still experience oom-kill during test. Second problem will be
on test machines configured with no swap turned on or with swap
size much smaller than RAM size.
The problem was discovered by Zbigniew with running
./gem_concurrent_blit --run '16M*' on machine with no swap.
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Signed-off-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Diffstat (limited to 'scripts/code_cov_gather_on_test.py')
0 files changed, 0 insertions, 0 deletions