[PATCH i-g-t 5/8] For ctxN

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Mon Jul 11 06:27:23 UTC 2022


---
 tests/i915/gem_ppgtt.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tests/i915/gem_ppgtt.c b/tests/i915/gem_ppgtt.c
index 24ed5e2074..f09ce261a8 100644
--- a/tests/i915/gem_ppgtt.c
+++ b/tests/i915/gem_ppgtt.c
@@ -373,9 +373,15 @@ igt_main
 
 		igt_require(has_contexts());
 
+		dump_file("meminfo before drop-caches", "/proc/meminfo", 16);
+		dump_file("slabinfo before drop-caches", "/proc/slabinfo", 1 << 30);
+
 		mem_per_test = SIZE + mem_per_ctx;
 		igt_require_memory(1 + nchild, mem_per_test, CHECK_RAM);
 
+		dump_file("meminfo after drop-caches", "/proc/meminfo", 16);
+		dump_file("slabinfo after drop-caches", "/proc/slabinfo", 1 << 30);
+
 		rcs = calloc(sizeof(*rcs), nchild);
 		igt_assert(rcs);
 
@@ -392,6 +398,9 @@ igt_main
 		cleanup_bufs(bcs, 1);
 		cleanup_bufs(rcs, nchild);
 		free(rcs);
+
+		dump_file("meminfo finish", "/proc/meminfo", 16);
+		dump_file("slabinfo finish", "/proc/slabinfo", 1 << 30);
 	}
 
 	igt_subtest("flink-and-close-vma-leak")
-- 
2.34.1



More information about the Intel-gfx-trybot mailing list