]> git.baikalelectronics.ru Git - kernel.git/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)
commit9b8908a6324937750611259f906cd3cbcc8bd0e8
treeb50362cead47a3b472a6b645a9e7dd0262a757f9
parent01c43b972e65cad12509a58639860b6e821a37eb
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