[dm-devel] [PATCH 03/29] drm/i915: dynamically allocate the i915_gem_mm shrinker

2023-06-22 Thread Qi Zheng
In preparation for implementing lockless slab shrink, we need to dynamically allocate the i915_gem_mm shrinker, so that it can be freed asynchronously by 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

[dm-devel] [PATCH 03/29] drm/i915: dynamically allocate the i915_gem_mm shrinker

2023-06-22 Thread Qi Zheng
From: Qi Zheng In preparation for implementing lockless slab shrink, we need to dynamically allocate the i915_gem_mm shrinker, so that it can be freed asynchronously by using kfree_rcu(). Then it doesn't need to wait for RCU read-side critical section when releasing the struct drm_i915_private.