diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-02-24 21:13:38 (GMT) |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-03-23 10:04:35 (GMT) |
commit | a14917eeb2cc160d13f4fddefe5f7f9c80953ce1 (patch) | |
tree | fe2f0143ce8fb145cb22cbece58df348c5f6d095 /drivers/mfd | |
parent | 121d527a323f3fde313a8f522060ba859ee405b3 (diff) | |
download | linux-fsl-qoriq-a14917eeb2cc160d13f4fddefe5f7f9c80953ce1.tar.xz |
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 <chris@chris-wilson.co.uk>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47738
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions