]> git.baikalelectronics.ru Git - kernel.git/commit
x86: clflush_page_range needs mfence
authorThomas Gleixner <tglx@linutronix.de>
Wed, 30 Jan 2008 12:34:08 +0000 (13:34 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:34:08 +0000 (13:34 +0100)
commitfe12d40e5bff4812f95b47f68596d3cb235e5bf8
tree4f741ddde5efa85299e900a24a71f893fc7ed34d
parentafa9f8b64c18f8bb3af6eab7d992b7a7fbc513d2
x86: clflush_page_range needs mfence

clflush is an unordered operation with respect to other memory
traffic, including other CLFLUSH instructions. This needs proper
fencing with mfence.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/pageattr.c