Skip to content

Commit

Permalink
[PATCH] i386: PARAVIRT: flush lazy mmu updates on kunmap_atomic
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeremy Fitzhardinge authored and Andi Kleen committed May 2, 2007
1 parent ce6234b commit 7b2f27f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/i386/mm/highmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ void kunmap_atomic(void *kvaddr, enum km_type type)
#endif
}

arch_flush_lazy_mmu_mode();
pagefault_enable();
}

Expand Down

0 comments on commit 7b2f27f

Please sign in to comment.