x86: cpa, check if we changed anything and tlb flushing is necessary
authorThomas Gleixner <tglx@linutronix.de>
Mon, 4 Feb 2008 15:48:07 +0000 (16:48 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 4 Feb 2008 15:48:07 +0000 (16:48 +0100)
commitf4ae5da0e8e92caa168e7c2a7c4a6c4064b082c2
treef4b3a98c7e9ea6d158bdc5bf5a479eaeb93c6957
parent72e458dfa63b3db7a46f66b0eb19e9ff4e17fc0e
x86: cpa, check if we changed anything and tlb flushing is necessary

Flush tlbs only when there was a real change.

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