]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915/selftests: Take a breath during check_partial_mappings()
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 2 Jan 2019 11:44:31 +0000 (11:44 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 2 Jan 2019 12:17:09 +0000 (12:17 +0000)
commit122503683169b21d9cdb90380a20caad7ba994b6
treeccb1ae10338f13a9a5ee1cd38b61ffa8eb5594c1
parent2cc8376fd35022d4576a2859a3763ef2afdd1b65
drm/i915/selftests: Take a breath during check_partial_mappings()

With kasan on a slow machine, it can take an age to check all the
partial mappings in a single iteration, so break it up with a
cond_resched) to avoid RCU stall reports.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190102114431.23022-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_gem_object.c