Re: [PATCH] drm/i915/selftests: Use msecs_to_jiffies() for an explicit ms timeout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Mika Kuoppala (2018-11-21 12:26:23)
> Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxx>
> 
> Reviewed-by: Mika Kuoppala <mika.kuoppala@xxxxxxxxxxxxxxx>
> 
> ...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.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux