Comment 50 for bug 1053959

Revision history for this message
In , Chris Wilson (ickle) wrote :

The situation should be improved by

commit a14917eeb2cc160d13f4fddefe5f7f9c80953ce1
Author: Chris Wilson <email address hidden>
Date: Fri Feb 24 21:13:38 2012 +0000

    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 address hidden>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47738
    Signed-off-by: Daniel Vetter <email address hidden>

but I'm still searching for just why we end up with so many buffers.