Re: [PATCH 1/7] drm/ttm: add pool wc/uc page allocator V2

2010-04-01 Thread Jerome Glisse
On Sun, Mar 28, 2010 at 09:16:01PM +0300, Pauli Nieminen wrote: On AGP system we might allocate/free routinely uncached or wc memory, changing page from cached (wb) to uc or wc is very expensive and involves a lot of flushing. To improve performance this allocator use a pool of uc,wc pages.

Re: [PATCH 1/7] drm/ttm: add pool wc/uc page allocator V2

2010-04-01 Thread Pauli Nieminen
On Thu, Apr 1, 2010 at 12:52 PM, Jerome Glisse gli...@freedesktop.org wrote: On Sun, Mar 28, 2010 at 09:16:01PM +0300, Pauli Nieminen wrote: On AGP system we might allocate/free routinely uncached or wc memory, changing page from cached (wb) to uc or wc is very expensive and involves a lot of

[PATCH 1/7] drm/ttm: add pool wc/uc page allocator V2

2010-03-28 Thread Pauli Nieminen
On AGP system we might allocate/free routinely uncached or wc memory, changing page from cached (wb) to uc or wc is very expensive and involves a lot of flushing. To improve performance this allocator use a pool of uc,wc pages. Pools are protected with spinlocks to allow multiple threads to