[PATCH] x86_64: Fix change_page_attr cache flushing
authorAndi Kleen <ak@suse.de>
Mon, 10 Oct 2005 23:03:39 +0000 (01:03 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Oct 2005 23:10:33 +0000 (16:10 -0700)
commit094804c5a132f04c12dd4902ee15c64362e5c1af
tree44a146301f43a7ba9db72308585122218ccafe6f
parentf96c3bbe91117402f13119ce9e609db9087ed58f
[PATCH] x86_64: Fix change_page_attr cache flushing

Noticed by Terence Ripperda

Undo wrong change in global_flush_tlb. We need to flush the caches in all
cases, not just when pages were reverted. This was a bogus optimization
added earlier, but it was wrong.

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