Re: 5.3-rc3: Frozen graphics with kcompactd migrating i915 pages

From: leho@xxxxxxxxx
Date: Thu Sep 12 2019 - 07:59:01 EST


On Thu, Sep 12, 2019 at 11:23:09AM +0000, Martin Wilck wrote:
>
> There's a considerable risk that many users will start seeing this
> regression when 5.3 is released. I am not aware of a workaround.
>
> Is there an alternative to reverting aa56a292ce62 ("drm/i915/userptr:
> Acquire the page lock around set_page_dirty()")? And if we do, what
> would be the consequences? Would other patches need to be reverted,
> too?

I've been running with revert patch for a couple of days and have not
encountered any kernel warnings thus far, nor any other ill effects that
could be attributed to this locking mechanism.

But I'm far from familiar with these subsystems.

Graphics does not hang anymore.

I've also received developer feedback in private that this really should
be fixed before 5.3 release.

--
Leho Kraav, senior technology & digital marketing architect