[PATCH 0/2] EXA offscreen memory defragmentation

Michel Dänzer michel at daenzer.net
Thu May 14 03:20:59 PDT 2009


[PATCH 1/2] EXA: Defragment offscreen memory.

Another (hopefully final) round for this. Since last time, I've fixed the
Block/WakeupHandler logic so it will really only call ExaOffscreenDefragment()
if select timed out after 100ms (or up to 1 second after the last call,
whichever is longer). I've also added code to keep track of the number of
available offscreen areas, and the Block/WakeupHandler are now completely
inactive when there is only one.

I verified with a gdb breakpoint in ExaOffscreenDefragment that it gets called
at most once per second, and only when the server goes idle after some
rendering activity.

[PATCH 2/2] EXA: Allocate from the end of free offscreen memory rather than from the start.

This is a new additional patch which makes offscreen memory allocation and
defragmentation work better together.


More information about the xorg-devel mailing list