]> err.no Git - linux-2.6/commit
[PATCH] x86-64: Speed and clean up cache flushing in change_page_attr
authorAndi Kleen <ak@suse.de>
Thu, 7 Dec 2006 01:14:05 +0000 (02:14 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Thu, 7 Dec 2006 01:14:05 +0000 (02:14 +0100)
commitea7322decb974a4a3e804f96a0201e893ff88ce3
tree1298d8ddef4637f84c0eecee774e07607eae57d6
parent74b47a7844501445d41d704fe7c626f4b1819508
[PATCH] x86-64: Speed and clean up cache flushing in change_page_attr

CLFLUSH is a lot faster than WBINVD so avoid the later if at all
possible.

Always pass the complete list of pages to other CPUs to cut down
the number of IPIs.

Minor other cleanup and sync with i386 version.

Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/mm/pageattr.c