From: Chris Wilson Date: Fri, 24 Feb 2012 21:13:38 +0000 (+0000) Subject: drm/i915: Release the mmap offset when purging a buffer X-Git-Tag: v3.5-rc1~83^2~140^2~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a14917eeb2cc160d13f4fddefe5f7f9c80953ce1;p=pandora-kernel.git drm/i915: Release the mmap offset when purging a buffer If we discard a buffer due to memory pressure, also release its alloted mmap address space. As it may be sometime before userspace wakes up and notices that it has buffers to purge from its cache, we may waste valuable address space on unusable objects for a period of time. Signed-off-by: Chris Wilson Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47738 Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed