From: Shaohua Li Date: Mon, 4 Aug 2008 06:51:30 +0000 (+0800) Subject: reduce tlb/cache flush times of agpgart memory allocation X-Git-Tag: v2.6.28-rc1~713^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=466ae837424dcc538b1af2a0eaf53be32edcdbe7;p=pandora-kernel.git 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 Cc: airlied@linux.ie Cc: Andrew Morton Cc: Arjan van de Ven Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed