From: Chris Wilson Date: Tue, 25 Feb 2014 14:23:28 +0000 (+0000) Subject: drm/i915: Reset vma->mm_list after unbinding X-Git-Tag: v3.15-rc1~51^2~55^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64bf930379ac8097705db7d40602c2aa9ec0d2f4;p=pandora-kernel.git drm/i915: Reset vma->mm_list after unbinding In place of true activity counting, we walk the list of vma associated with an object managing each on the vm's active/inactive list everytime we call move-to-inactive. This depends upon the vma->mm_list being cleared after unbinding, or else we run into difficulty when tracking the object in multiple vm's - we see a use-after free and corruption of the mm_list. Signed-off-by: Chris Wilson Cc: Ben Widawsky Reviewed-by: Ben Widawsky Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed