[PATCH v18 10/26] drm/shmem-helper: Use refcount_t for vmap_use_count

Maxime Ripard mripard at kernel.org
Fri Nov 24 10:48:51 UTC 2023


On Mon, 30 Oct 2023 02:01:49 +0300, Dmitry Osipenko wrote:
> Use refcount_t helper for vmap_use_count to make refcounting consistent
> with pages_use_count and pages_pin_count that use refcount_t. This also
> makes vmapping to benefit from the refcount_t's overflow checks.
> 
> Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>
> 
> [ ... ]

Acked-by: Maxime Ripard <mripard at kernel.org>

Thanks!
Maxime


More information about the dri-devel mailing list