All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] drm/ttm: Pool allocator
@ 2010-03-17 20:49 Pauli Nieminen
  2010-03-17 20:50 ` [PATCH 1/7] drm/ttm: add pool wc/uc page allocator Pauli Nieminen
       [not found] ` <4BA36207.1070501@shipmail.org>
  0 siblings, 2 replies; 14+ messages in thread
From: Pauli Nieminen @ 2010-03-17 20:49 UTC (permalink / raw)
  To: dri-devel

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 deallocate many pages in a short time
frame. In this case we can avoid cache flushes if we keep pages in the pool before
actually freeing them later.

arch/x86 was missing set_pages_array_wc and set_memory_array_wc. Patch 6 and 7 add
missing functions and hooks set_pages_array_wc to the pool allocator.


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-03-19 19:51 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-17 20:49 [PATCH 0/7] drm/ttm: Pool allocator Pauli Nieminen
2010-03-17 20:50 ` [PATCH 1/7] drm/ttm: add pool wc/uc page allocator Pauli Nieminen
2010-03-17 20:50   ` [PATCH 2/7] drm/ttm: Add debugfs output entry to pool allocator Pauli Nieminen
2010-03-17 20:50     ` [PATCH 3/7] drm/radeon/kms: Add ttm page pool debugfs file Pauli Nieminen
2010-03-17 20:50       ` [PATCH 4/7] drm/nouveau: " Pauli Nieminen
2010-03-17 20:50         ` [PATCH 5/7] drm/ttm: Dynamically scale the allocation sizes of pools Pauli Nieminen
2010-03-17 20:50           ` [PATCH 6/7] arch/x86: Add array variants for setting memory to wc caching Pauli Nieminen
2010-03-17 20:50             ` [PATCH 7/7] drm/ttm: Use set_pages_array_wc instead of set_memory_wc Pauli Nieminen
2010-03-17 23:52             ` [PATCH 6/7] arch/x86: Add array variants for setting memory to wc caching Dave Airlie
2010-03-18  9:41               ` Pauli Nieminen
2010-03-18 19:29                 ` Suresh Siddha
2010-03-18 19:18                   ` Pauli Nieminen
     [not found] ` <4BA36207.1070501@shipmail.org>
2010-03-19 12:41   ` [PATCH 0/7] drm/ttm: Pool allocator Pauli Nieminen
2010-03-19 19:51     ` Thomas Hellström

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.