]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/selftests/mm: Insert cond_resched() between insert modes
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Nov 2017 10:41:31 +0000 (10:41 +0000)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Tue, 7 Nov 2017 13:58:07 +0000 (15:58 +0200)
commit2dff0a0ce52bd4c07f3f8f843c25b6250a599361
tree367ee28b9b422790c444b49ef71b012a38318ca3
parentc188d7ebbebd0b21a071777ac937c0743e2e7a64
drm/selftests/mm: Insert cond_resched() between insert modes

kbuilder has begun running the selftests and reported a soft-lockup
inside __igt_insert(), so break up the test loop over different modes
with another call to cond_resched().

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171107104131.5923-1-chris@chris-wilson.co.uk
drivers/gpu/drm/selftests/test-drm_mm.c