[PATCH v2] drm/ttm: Add a bo list reserve fastpath

2010-11-17 Thread Thomas Hellstrom
Makes it possible to reserve a list of buffer objects with a single spin lock / unlock if there is no contention. Should improve cpu usage on SMP kernels. v2: Initialize private list members on reserve and don't call ttm_bo_list_ref_sub() with zero put_count. Signed-off-by: Thomas Hellstrom ---

[PATCH v2] drm/ttm: Add a bo list reserve fastpath

2010-11-17 Thread Thomas Hellstrom
Makes it possible to reserve a list of buffer objects with a single spin lock / unlock if there is no contention. Should improve cpu usage on SMP kernels. v2: Initialize private list members on reserve and don't call ttm_bo_list_ref_sub() with zero put_count. Signed-off-by: Thomas Hellstrom ---