drm/ttm: Pool allocator
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | drm/ttm: add pool wc/uc page allocatordrivers/ drivers/ drivers/ +2 more | +867 | 0 replies | |
| 2/7 | drm/ttm: Add debugfs output entry to pool allocator.drivers/ include/ | +44 | 0 replies | |
| 3/7 | drm/radeon/kms: Add ttm page pool debugfs file.drivers/ | +10 | 0 replies | |
| 4/7 | drm/nouveau: Add ttm page pool debugfs file.drivers/ | +3 | 0 replies | |
| 5/7 | drm/ttm: Dynamically scale the allocation sizes of pools.drivers/ | +81 | 0 replies | |
| 6/7 | arch/x86: Add array variants for setting memory to wc caching.arch/ arch/ | +47 | 4 replies | |
| 7/7 | drm/ttm: Use set_pages_array_wc instead of set_memory_wc.drivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] drm/ttm: Pool allocator
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
--