On Sat, Aug 11, 2012 at 03:41:03PM +0100, Chris Wilson wrote: > Given the persistence of an offset for the lifetime of an object, itis > easy to contemplate how the mmap space becomes badly fragmented to the > point that further allocations fail with ENOSPC. Our only recourse at > this point is to try to purge the objects to release some space and > reattempt the allocation. > > References: https://bugs.freedesktop.org/show_bug.cgi?id=39552 > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk> Ok, I've picked up things up to this patch, with the few changes applied as discussed (plus ditching an unused var that I've forgotten to kill when purging the put_pages from gem_reset). I'll look at the others later today. Thanks for the patches, -Daniel -- Daniel Vetter Mail: daniel at ffwll.ch Mobile: +41 (0)79 365 57 48