[Intel-gfx] [PATCH 0/9] [RFC] fair-lru eviction

Eric Anholt eric at anholt.net
Wed May 19 05:05:21 CEST 2010


On Tue, 18 May 2010 23:11:42 +0200, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> Hi all,
> 
> This patch series implements the fair-lru eviction Chris Wilson already
> posted with a twist. It's essentially the same idea & algorithm.
> Differnences versus his patch:
> - Doesn't do any allocations while scanning.
> - Implemented in drm_mm.c
> 
> In other words, this should also be usable by ttm. The idea is simple:
> Scan through the lru, marking objects as evictable until there is a
> large area of memory free/free-able. Then walk through all the scanned
> objects in reverse, checking which ones fall into this hole. Finally
> evicting them.
> 
> Comments, ideas highly welcome.
> 
> As per usual, I couldn't resist and had to clean up the code in drm_mm.c a
> little.

Do you have performance numbers on these patches?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20100518/59ec8db9/attachment.pgp>


More information about the Intel-gfx mailing list