]> err.no Git - linux-2.6/commit
x86: change_page_attr bandaids
authorAndi Kleen <ak@suse.de>
Wed, 20 Jun 2007 10:23:36 +0000 (12:23 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 20 Jun 2007 21:27:26 +0000 (14:27 -0700)
commit018d2ad0cccfa9bb8bee1d160c353e568484a137
treeb50362cead47a3b472a6b645a9e7dd0262a757f9
parent55181000cd60334fe920c65ffbcdfe0e3f1de406
x86: change_page_attr bandaids

- Disable CLFLUSH again; it is still broken. Always do WBINVD.
- Always flush in the i386 case, not only when there are deferred pages.

These are both brute-force inefficient fixes, to be improved
next release cycle.

The changes to i386 are a little more extensive than strictly
needed (some dead code added), but it is more similar to the x86-64 version
now and the dead code will be used soon.

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