]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitcd8ddf1a2800026dd58433333cce7a65cbc6c6d2
tree4f741ddde5efa85299e900a24a71f893fc7ed34d
parentaf1e6844d60057774910a2d08bd75b67d73ba7d5
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