Searched refs:active_mm (Results 1 – 2 of 2) sorted by relevance
723 struct mm_struct * old_mm, *active_mm; in exec_mmap() local744 active_mm = tsk->active_mm; in exec_mmap()746 tsk->active_mm = mm; in exec_mmap()747 activate_mm(active_mm, mm); in exec_mmap()752 BUG_ON(active_mm != old_mm); in exec_mmap()757 mmdrop(active_mm); in exec_mmap()
619 struct mm_struct *active_mm; in use_mm() local623 active_mm = tsk->active_mm; in use_mm()626 tsk->active_mm = mm; in use_mm()627 switch_mm(active_mm, mm, tsk); in use_mm()630 mmdrop(active_mm); in use_mm()