[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5ebb290e629a83f12525c2ddf0ca2082.mripard@kernel.org>
Date: Fri, 24 Nov 2023 10:41:24 +0000
From: "Maxime Ripard" <mripard@...nel.org>
To: "Dmitry Osipenko" <dmitry.osipenko@...labora.com>
Cc: dri-devel@...ts.freedesktop.org, kernel@...labora.com,
linux-kernel@...r.kernel.org,
virtualization@...ts.linux-foundation.org,
"Boris Brezillon" <boris.brezillon@...labora.com>,
"Chia-I Wu" <olvaffe@...il.com>,
Christian König <christian.koenig@....com>,
"Daniel Vetter" <daniel@...ll.ch>,
"David Airlie" <airlied@...il.com>,
"Emma Anholt" <emma@...olt.net>,
"Gerd Hoffmann" <kraxel@...hat.com>,
"Gurchetan Singh" <gurchetansingh@...omium.org>,
"Maarten Lankhorst" <maarten.lankhorst@...ux.intel.com>,
"Maxime Ripard" <mripard@...nel.org>,
"Melissa Wen" <mwen@...lia.com>, "Qiang Yu" <yuq825@...il.com>,
"Steven Price" <steven.price@....com>,
"Thomas Zimmermann" <tzimmermann@...e.de>
Subject: Re: [PATCH v18 07/26] drm/shmem-helper: Use refcount_t for
pages_use_count
On Mon, 30 Oct 2023 02:01:46 +0300, Dmitry Osipenko wrote:
> Use atomic refcount_t helper for pages_use_count to optimize pin/unpin
> functions by skipping reservation locking while GEM's pin refcount > 1.
>
> Reviewed-by: Boris Brezillon <boris.brezillon@...labora.com>
> Suggested-by: Boris Brezillon <boris.brezillon@...labora.com>
>
> [ ... ]
Acked-by: Maxime Ripard <mripard@...nel.org>
Thanks!
Maxime
Powered by blists - more mailing lists