[PATCH 13/28] paravirt: flush lazy mmu updates on kunmap_atomic

Jeremy Fitzhardinge
2007-04-14T21:22:24Z

[-- Attachment #1: paravirt-flush-on-kunmap_atomic.patch --]
[-- Type: text/plain, Size: 529 bytes --]

kunmap_atomic should flush any pending lazy mmu updates, mainly to be
consistent with kmap_atomic, and to preserve its normal behaviour.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>

---
arch/i386/mm/highmem.c | 1 +
1 file changed, 1 insertion(+)

===================================================================
--- a/arch/i386/mm/highmem.c
+++ b/arch/i386/mm/highmem.c
@@ -72,6 +72,7 @@ void kunmap_atomic(void *kvaddr, enum km
#endif
}

+ arch_flush_lazy_mmu_mode();
pagefault_enable();
}

--