]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86-64: Always flush all pages in change_page_attr
authorAndi Kleen <ak@suse.de>
Tue, 24 Apr 2007 11:05:37 +0000 (13:05 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 24 Apr 2007 11:05:37 +0000 (13:05 +0200)
commitc1d1ce831fbcaafa381e02a3e144cf0539d11b96
tree878e82d2ab2e75a94303349976535ab1ce378a97
parent253a76c311ad372293c3fb523dff4e32b5254a2b
[PATCH] x86-64: Always flush all pages in change_page_attr

change_page_attr on x86-64 only flushed the TLB for pages that got
reverted. That's not correct: it has to be flushed in all cases.

This bug was added in some earlier changes.

Just flush all pages for now.

This could be done more efficiently, but for this late in the release
this seem to be the best fix.

Pointed out by Jan Beulich

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