Re: [PATCH 0/7] drm/ttm: Pool allocator

2010-03-19 Thread Thomas Hellström
Pauli Nieminen wrote: > 2010/3/19 Thomas Hellström : > >> Pauli, Dave and Jerome, >> >> Before reviewing this, Could you describe a bit how this interfaces with the >> TTM memory accounting. It's important for some systems to be able to set a >> limit beyond which TTM may not pin any pages. >> >

Re: [PATCH 0/7] drm/ttm: Pool allocator

2010-03-19 Thread Pauli Nieminen
2010/3/19 Thomas Hellström : > Pauli, Dave and Jerome, > > Before reviewing this, Could you describe a bit how this interfaces with the > TTM memory accounting. It's important for some systems to be able to set a > limit beyond which TTM may not pin any pages. > > Am I right in assuming that TTM me

[PATCH 0/7] drm/ttm: Pool allocator

2010-03-17 Thread Pauli Nieminen
When allocating wc/uc pages cache state transition requires cache flush which is expensive operation. To avoid cache flushes allocation of wc/uc pages should be done in large groups when only single cache flush is required for whole group of pages. In some cases drivers need t oallocate and deallo