search for: pool_shrink_rwsem

Displaying 1 result from an estimated 1 matches for "pool_shrink_rwsem".

2023 Aug 22
0
[PATCH v4 43/48] drm/ttm: introduce pool_shrink_rwsem
...s that no shrinkers run in parallel. > > After we use RCU+refcount method to implement the lockless slab shrink, > we can not use shrinker_rwsem or synchronize_rcu() to guarantee that all > shrinker invocations have seen an update before freeing memory. > > So we introduce a new pool_shrink_rwsem to implement a private > synchronize_shrinkers(), so as to achieve the same purpose. > > Signed-off-by: Qi Zheng <zhengqi.arch at bytedance.com> > Reviewed-by: Muchun Song <songmuchun at bytedance.com> On the 5 drm patches (I counted 2 ttm and 3 drivers) for merging throug...