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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux