kernel/mm/mmu_context.c
.. .. @@ -25,6 +25,7 @@ 25 25 struct task_struct *tsk = current; 26 26 27 27 task_lock(tsk); 28 + preempt_disable_rt();28 29 active_mm = tsk->active_mm; 29 30 if (active_mm != mm) { 30 31 mmgrab(mm); .. .. @@ -32,6 +33,7 @@ 32 33 } 33 34 tsk->mm = mm; 34 35 switch_mm(active_mm, mm, tsk); 36 + preempt_enable_rt();35 37 task_unlock(tsk); 36 38 #ifdef finish_arch_post_lock_switch 37 39 finish_arch_post_lock_switch();