Re: [PATCH v6] mm, drm/i915: mark pinned shmemfs pages as unevictable

From: Kuo-Hsin Yang
Date: Tue Nov 06 2018 - 10:19:26 EST


On Tue, Nov 6, 2018 at 6:54 PM Daniel Vetter <daniel@xxxxxxxx> wrote:
> There was ages ago some planes to have our own i915fs, so that we could
> overwrite the address_space hooks for page migration and eviction and that
> sort of thing, which would make all these pages evictable. Atm you have to
> Äope our shrinker drops them on the floor, which I think is fairly
> confusing to core mm code (it's kinda like page eviction worked way back
> before rmaps).
>

Thanks for the explanation. Your blog posts helped a lot to get me
started on hacking drm/i915 driver.

> Just an side really.
> -Daniel
>
> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> http://blog.ffwll.ch