[PATCH v18 06/26] drm/shmem-helper: Add and use pages_pin_count
Maxime Ripard
mripard at kernel.org
Fri Nov 24 10:41:05 UTC 2023
On Mon, 30 Oct 2023 02:01:45 +0300, Dmitry Osipenko wrote:
> Add separate pages_pin_count for tracking of whether drm-shmem pages are
> moveable or not. With the addition of memory shrinker support to drm-shmem,
> the pages_use_count will no longer determine whether pages are hard-pinned
> in memory, but whether pages exist and are soft-pinned (and could be swapped
> out). The pages_pin_count > 1 will hard-pin pages in memory.
>
> [ ... ]
Acked-by: Maxime Ripard <mripard at kernel.org>
Thanks!
Maxime
More information about the dri-devel
mailing list