]> git.baikalelectronics.ru Git - kernel.git/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)
commit445e0939b0140148a147332d8d80e7a25a35e760
tree1298d8ddef4637f84c0eecee774e07607eae57d6
parente43f6107d19bcf2cb07d542e4552e0544df564d8
[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