[PATCH v2 22/47] drm/i915: dynamically allocate the i915_gem_mm shrinker
Muchun Song
muchun.song at linux.dev
Wed Jul 26 00:15:47 PDT 2023
> On Jul 24, 2023, at 17:43, Qi Zheng <zhengqi.arch at bytedance.com> wrote:
>
> In preparation for implementing lockless slab shrink, use new APIs to
> dynamically allocate the i915_gem_mm shrinker, so that it can be freed
> asynchronously using kfree_rcu(). Then it doesn't need to wait for RCU
> read-side critical section when releasing the struct drm_i915_private.
>
> Signed-off-by: Qi Zheng <zhengqi.arch at bytedance.com>
Reviewed-by: Muchun Song <songmuchun at bytedance.com>
More information about the linux-mtd
mailing list