Home
last modified time | relevance | path

Searched refs:active_mm (Results 1 – 5 of 5) sorted by relevance

/kernel/
Dkthread.c1332 struct mm_struct *active_mm; in kthread_use_mm() local
1341 active_mm = tsk->active_mm; in kthread_use_mm()
1342 if (active_mm != mm) { in kthread_use_mm()
1344 tsk->active_mm = mm; in kthread_use_mm()
1347 switch_mm_irqs_off(active_mm, mm, tsk); in kthread_use_mm()
1354 if (active_mm != mm) in kthread_use_mm()
1355 mmdrop(active_mm); in kthread_use_mm()
Dfork.c719 WARN_ON_ONCE(mm == current->active_mm); in __mmdrop()
1461 tsk->active_mm = NULL; in copy_mm()
1488 tsk->active_mm = mm; in copy_mm()
Dcpu.c588 struct mm_struct *mm = idle->active_mm; in finish_cpu()
595 idle->active_mm = &init_mm; in finish_cpu()
Dexit.c528 BUG_ON(mm != current->active_mm); in exit_mm()
/kernel/sched/
Dcore.c4007 enter_lazy_tlb(prev->active_mm, next); in context_switch()
4009 next->active_mm = prev->active_mm; in context_switch()
4011 mmgrab(prev->active_mm); in context_switch()
4013 prev->active_mm = NULL; in context_switch()
4015 membarrier_switch_mm(rq, prev->active_mm, next->mm); in context_switch()
4024 switch_mm_irqs_off(prev->active_mm, next->mm, next); in context_switch()
4028 rq->prev_mm = prev->active_mm; in context_switch()
4029 prev->active_mm = NULL; in context_switch()
6954 struct mm_struct *mm = current->active_mm; in idle_task_exit()