From: Shaohua Li Date: Thu, 21 Aug 2008 02:46:06 +0000 (+0800) Subject: x86, pageattr: introduce APIs to change pageattr of a page array X-Git-Tag: v2.6.28-rc1~713^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d75586ad01e6c5a30e7337fb87d61e03556a1ecb;p=pandora-kernel.git x86, pageattr: introduce APIs to change pageattr of a page array Add array interface APIs of pageattr. page based cache flush is quite slow for a lot of pages. If pages are more than 1024 (4M), the patch will use a wbinvd(). We have a simple test here (run a 3d game - open arena), nearly all agp memory allocation are small (< 1M), so suppose this will not impact runtime performance. Signed-off-by: Dave Airlie Signed-off-by: Shaohua Li Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed