introduce two APIs for page attribute
authorShaohua Li <shaohua.li@intel.com>
Mon, 4 Aug 2008 06:51:24 +0000 (14:51 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 15 Aug 2008 14:30:45 +0000 (16:30 +0200)
commit1ac2f7d55b7ee1613c90631e87fea22ec06781e5
tree1f93aaed49cf60982b11fbf38fc6e331643a5c08
parent012f09e7942716d5f4339f1fd9a831a485bb1d4a
introduce two APIs for page attribute

Introduce two APIs for page attribute. flushing tlb/cache in every page
attribute is expensive. AGP gart usually will do a lot of operations to
change a page to uc, new APIs can reduce flush.

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>
arch/x86/mm/pageattr.c
include/asm-x86/cacheflush.h