diff options
| author | Chris Wilson <[email protected]> | 2012-02-24 21:13:38 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2012-03-23 11:04:35 +0100 |
| commit | a14917eeb2cc160d13f4fddefe5f7f9c80953ce1 (patch) | |
| tree | fe2f0143ce8fb145cb22cbece58df348c5f6d095 /tools/perf/scripts/python | |
| parent | 121d527a323f3fde313a8f522060ba859ee405b3 (diff) | |
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 <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47738
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions