Home
last modified time | relevance | path

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

/kernel/
Dkthread.c1419 struct mm_struct *active_mm; in kthread_use_mm() local
1428 active_mm = tsk->active_mm; in kthread_use_mm()
1429 if (active_mm != mm) { in kthread_use_mm()
1431 tsk->active_mm = mm; in kthread_use_mm()
1435 switch_mm_irqs_off(active_mm, mm, tsk); in kthread_use_mm()
1451 if (active_mm != mm) in kthread_use_mm()
1452 mmdrop(active_mm); in kthread_use_mm()
Dfork.c883 WARN_ON_ONCE(mm == current->active_mm); in __mmdrop()
1675 tsk->active_mm = NULL; in copy_mm()
1696 tsk->active_mm = mm; in copy_mm()
Dcpu.c640 struct mm_struct *mm = idle->active_mm; in finish_cpu()
647 idle->active_mm = &init_mm; in finish_cpu()
Dexit.c543 BUG_ON(mm != current->active_mm); in exit_mm()
/kernel/sched/
Dcore.c5371 enter_lazy_tlb(prev->active_mm, next); in context_switch()
5373 next->active_mm = prev->active_mm; in context_switch()
5375 mmgrab(prev->active_mm); in context_switch()
5377 prev->active_mm = NULL; in context_switch()
5379 membarrier_switch_mm(rq, prev->active_mm, next->mm); in context_switch()
5388 switch_mm_irqs_off(prev->active_mm, next->mm, next); in context_switch()
5393 rq->prev_mm = prev->active_mm; in context_switch()
5394 prev->active_mm = NULL; in context_switch()
9365 struct mm_struct *mm = current->active_mm; in idle_task_exit()