[Intel-gfx] [PATCH] drm/i915/gem: Free pages before rcu-freeing the object

2019-07-02 Thread Chris Wilson
As we have dropped the final reference to the object, we do not need to wait until after the rcu grace period to drop its pages. We still require struct_mutex to completely unbind the object to release the pages, so we still need a free-worker to manage that from process context. By scheduling the

[Intel-gfx] [PATCH] drm/i915/gem: Free pages before rcu-freeing the object

2019-07-01 Thread Chris Wilson
As we have dropped the final reference to the object, we do not need to wait until after the rcu grace period to drop its pages. We still require struct_mutex to completely unbind the object to release the pages, so we still need a free-worker to manage that from process context. By scheduling the