diff options
author | 2007-05-02 19:27:15 +0200 | |
---|---|---|
committer | 2007-05-02 19:27:15 +0200 | |
commit | 7b2f27f4e1818fad980da7bea688dca2b9e9c3f3 (patch) | |
tree | 66c0a8c4a508eb679cd4ef9d1378c9542d5bbd05 | |
parent | [PATCH] i386: PARAVIRT: add kmap_atomic_pte for mapping highpte pages (diff) | |
download | wireguard-linux-7b2f27f4e1818fad980da7bea688dca2b9e9c3f3.tar.xz wireguard-linux-7b2f27f4e1818fad980da7bea688dca2b9e9c3f3.zip |
[PATCH] i386: PARAVIRT: flush lazy mmu updates on kunmap_atomic
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>
Signed-off-by: Andi Kleen <ak@suse.de>
-rw-r--r-- | arch/i386/mm/highmem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/i386/mm/highmem.c b/arch/i386/mm/highmem.c index a1a21abf742e..ad8d86cc683e 100644 --- a/arch/i386/mm/highmem.c +++ b/arch/i386/mm/highmem.c @@ -72,6 +72,7 @@ void kunmap_atomic(void *kvaddr, enum km_type type) #endif } + arch_flush_lazy_mmu_mode(); pagefault_enable(); } |