summaryrefslogtreecommitdiffstats
path: root/mm/highmem.c
diff options
context:
space:
mode:
authorShaohua Li <shaohua.li@intel.com>2008-08-04 14:51:30 +0800
committerIngo Molnar <mingo@elte.hu>2008-08-15 16:30:48 +0200
commit466ae837424dcc538b1af2a0eaf53be32edcdbe7 (patch)
treefb19282470b844aa6e1affc52b65dd707196d223 /mm/highmem.c
parent1ac2f7d55b7ee1613c90631e87fea22ec06781e5 (diff)
downloadlinux-466ae837424dcc538b1af2a0eaf53be32edcdbe7.tar.gz
linux-466ae837424dcc538b1af2a0eaf53be32edcdbe7.tar.bz2
linux-466ae837424dcc538b1af2a0eaf53be32edcdbe7.zip
reduce tlb/cache flush times of agpgart memory allocation
To reduce tlb/cache flush, makes agp memory allocation do one flush after all pages in a region are changed to uc. All agp drivers except agp-sgi uses agp_generic_alloc_page() for .agp_alloc_page, so the patch should work for them. agp-sgi is only for ia64, so not a problem too. Signed-off-by: Shaohua Li <shaohua.li@intel.com> Cc: airlied@linux.ie Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'mm/highmem.c')
0 files changed, 0 insertions, 0 deletions