Quoting Tang, CQ (2020-10-13 17:19:27) > Chris, > I tested this patch. It is still not enough, I keep catch running out of lmem. Every worker invocation takes larger and larger freeing object count. > Was that with the immediate call (not via call_rcu) to __i915_gem_free_object_rcu? If this brings the freelist under control, the next item is judicious use of cond_synchronize_rcu(). We just have to make sure we penalize the right hog. Otherwise, we have to shotgun apply i915_gem_flush_free_objects() and still find somewhere to put the rcu sync. -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx