[Intel-gfx] [PATCH 1/5] drm/i915: Release the mmap offset when purging a buffer

Daniel Vetter daniel at ffwll.ch
Fri Mar 23 11:06:01 CET 2012


On Fri, Feb 24, 2012 at 09:13:38PM +0000, Chris Wilson wrote:
> 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 <chris at chris-wilson.co.uk>
Queued for -next, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48



More information about the Intel-gfx mailing list