OpenCloudOS-Kernel/arch/x86/lguest
Jeremy Fitzhardinge b407fc57b8 x86/paravirt: flush pending mmu updates on context switch
Impact: allow preemption during lazy mmu updates

If we're in lazy mmu mode when context switching, leave
lazy mmu mode, but remember the task's state in
TIF_LAZY_MMU_UPDATES.  When we resume the task, check this
flag and re-enter lazy mmu mode if its set.

This sets things up for allowing lazy mmu mode while preemptible,
though that won't actually be active until the next change.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
2009-03-29 23:36:00 -07:00
..
Kconfig x86: remove the Voyager 32-bit subarch 2009-02-23 00:54:01 +01:00
Makefile Move lguest guest support to arch/x86. 2007-10-23 15:49:50 +10:00
boot.c x86/paravirt: flush pending mmu updates on context switch 2009-03-29 23:36:00 -07:00
i386_head.S lguest: move the initial guest page table creation code to the host 2008-12-30 09:26:11 +10:30