Re: Q. drm/i915 shrinker, synchronize_rcu_expedited() from handlers

From: Joonas Lahtinen
Date: Mon May 22 2017 - 02:02:16 EST


On la, 2017-05-20 at 10:56 +0900, J. R. Okajima wrote:
> "J. R. Okajima":
> >
> > I don't know whether the fix is good to me or not yet. I will test your
> > fix, but I am busy now and my test will be a few weeks later. Other
> > people may want the fix soon. So I'd suggest you to reproduce the
> > problem on your side. I guess "mem=1G" or "mem=512M" will make it easier
> > to reproduce the problem.
> > Of course, if you are sure the fix is correct, then you don't have to
> > wait for my test. Release it soon for other people.
>
> Now I am going to able to run my local test.
> But V3 patch failed to apply onto v4.11.0.
>
> Would you provide us two versions of the patch, one for v4.11 series and
> the other of v4.12-rcN?

For v4.12-rc2 the backport is here:

https://patchwork.freedesktop.org/patch/156990/

For quick testing on older kernels, just remove all lines with "_rcu"
inÂdrivers/gpu/drm/i915/i915_gem_shrinker.c .

Regards, Joonas

PS: It'll help to subscribe to and track our mailing list at
intel-gfx@xxxxxxxxxxxxxxxxxxxxxÂfor future convenience.
--
Joonas Lahtinen
Open Source Technology Center
Intel Corporation