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® 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
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to