commit | 0bd6cb6b58f7332c61cef2e4ae48db1ca9910b6b | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Tue Jun 18 08:41:29 2019 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Tue Jun 18 18:09:08 2019 +0100 |
tree | 334a2aa83aa2742e9697e25a7089a7c20d472271 | |
parent | 767662bc62a43741b1bba7a2f8c04faaf0e3e93b [diff] |
drm/i915: Skip shrinking already freed pages Previously, we wanted to shrink the pages of freed objects before they were finally RCU collected. However, by removing the struct_mutex serialisation around the active reference, we need to acquire an extra reference around the wait. Unfortunately this means that we have to skip objects that are waiting RCU collection. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110937 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190618074153.16055-2-chris@chris-wilson.co.uk