diff options
author | Pauli Nieminen <suokkos@gmail.com> | 2010-04-01 12:45:01 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-04-06 11:36:06 +1000 |
commit | 4f64625412be120cef9e9b97e88c406ec2c78027 (patch) | |
tree | d26eb670482e2b3adfed309044294c2edb529942 /arch/x86/mm/init.c | |
parent | bf62acdef89cb5b294668a6a747f7411dfe2ea7d (diff) |
arch/x86: Add array variants for setting memory to wc caching.
Setting single memory pages at a time to wc takes a lot time in cache flush. To
reduce number of cache flush set_pages_array_wc and set_memory_array_wc can be
used to set multiple pages to WC with single cache flush.
This improves allocation performance for wc cached pages in drm/ttm.
CC: Suresh Siddha <suresh.b.siddha@intel.com>
CC: Venkatesh Pallipadi <venkatesh.pallipadi@gmail.com>
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'arch/x86/mm/init.c')
0 files changed, 0 insertions, 0 deletions