From 00da3d18dc05dc002302ed7bcfa575e52f1420ce Mon Sep 17 00:00:00 2001 From: Tvrtko Ursulin Date: Tue, 5 Sep 2017 11:38:58 +0100 Subject: igt_core: Skip sync when listing subtests No need to sync filesystems when only listing subtest. Extremely marginal benefit of avoid a short stall after make followed by listing subtests. v2: Move sync to common_init for consolidation and simplicity. (Chris Wilson) Signed-off-by: Tvrtko Ursulin Cc: Chris Wilson Reviewed-by: Chris Wilson --- lib/igt_core.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/igt_core.c') diff --git a/lib/igt_core.c b/lib/igt_core.c index 99a82d5a..7e5aa342 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -854,6 +854,7 @@ out: kmsg(KERN_INFO "[IGT] %s: executing\n", command_str); print_version(); + sync(); oom_adjust_for_doom(); low_mem_killer_disable(true); } -- cgit v1.2.3