[Intel-gfx] [PATCH] drm/i915: Protect WC stash allocation against direct reclaim

Chris Wilson chris at chris-wilson.co.uk
Mon Jan 22 12:21:55 UTC 2018


Quoting Matthew Auld (2018-01-22 11:04:33)
> On 21 January 2018 at 17:31, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> > As we attempt to allocate pages for use in a new WC stash, direct
> > reclaim may run underneath us and fill up the WC stash. We have to be
> > careful then not to overflow the pvec.
> >
> > Fixes: 66df1014efba ("drm/i915: Keep a small stash of preallocated WC pages")
> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103109
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Matthew Auld <matthew.auld at intel.com>
> > Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> 
> Yikes.

Quite the understatement :)

> Reviewed-by: Matthew Auld <matthew.auld at intel.com>

Thanks, pushed,
-Chris


More information about the Intel-gfx mailing list