]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] x86-64: Always flush all pages in change_page_attr
authorAndi Kleen <ak@suse.de>
Fri, 27 Apr 2007 16:48:54 +0000 (12:48 -0400)
committerChris Wright <chrisw@sous-sol.org>
Mon, 11 Jun 2007 18:37:08 +0000 (11:37 -0700)
commit7773d585e2aebd22e8325d2a76970565f4019093
tree2492756aeb5d99f4a123fc615c67387765d844fd
parentafb7680b2c8ddadc4b09177dd85880f5ad6b4621
[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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86_64/mm/pageattr.c