From: Jeremy Fitzhardinge Date: Wed, 18 Feb 2009 07:46:21 +0000 (-0800) Subject: x86/paravirt: flush pending mmu updates on context switch X-Git-Tag: v2.6.31-rc1~410^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b407fc57b815b2016186220baabc76cc8264206e;p=pandora-kernel.git 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 Acked-by: Peter Zijlstra --- Reading git-diff-tree failed