From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muchun Song Date: Wed, 26 Jul 2023 15:15:47 +0800 Subject: [Cluster-devel] [PATCH v2 22/47] drm/i915: dynamically allocate the i915_gem_mm shrinker In-Reply-To: <20230724094354.90817-23-zhengqi.arch@bytedance.com> References: <20230724094354.90817-1-zhengqi.arch@bytedance.com> <20230724094354.90817-23-zhengqi.arch@bytedance.com> Message-ID: <82139544-DF2B-42FB-A323-5E4F0598EF4E@linux.dev> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > On Jul 24, 2023, at 17:43, Qi Zheng 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 Reviewed-by: Muchun Song