[Intel-gfx] [PATCH] drm/i915/selftests: Use msecs_to_jiffies() for an explicit ms timeout
chris at chris-wilson.co.uk
Wed Nov 21 12:37:12 UTC 2018
Quoting Mika Kuoppala (2018-11-21 12:26:23)
> Chris Wilson <chris at chris-wilson.co.uk> writes:
> > Make the wait for the evict kthread use an explicit timeout rather than
> > a handwaved jiffie value so it is consistent across all platforms.
> > References: https://bugs.freedesktop.org/show_bug.cgi?id=108735
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Reviewed-by: Mika Kuoppala <mika.kuoppala at linux.intel.com>
> ...there is one left in intel_workarounds.c
Fortunately, we haven't yet exceeded it. HZ/5 should be
pretty stable, worst case is 20 jiffies. Even HZ/10 at 10 jiffies
shouldn't be much of a problem, just worrying about why the kthread
didn't wake up. Maybe I should just bump its prio.
More information about the Intel-gfx