Home
last modified time | relevance | path

Searched refs:oldmm (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/kernel/
Dfork.c320 struct mm_struct * mm, *oldmm; in copy_mm() local
335 oldmm = current->mm; in copy_mm()
336 if (!oldmm) in copy_mm()
340 atomic_inc(&oldmm->mm_users); in copy_mm()
341 mm = oldmm; in copy_mm()
351 memcpy(mm, oldmm, sizeof(*mm)); in copy_mm()
358 down_write(&oldmm->mmap_sem); in copy_mm()
360 up_write(&oldmm->mmap_sem); in copy_mm()
Dsched.c674 struct mm_struct *oldmm = prev->active_mm; in schedule() local
677 next->active_mm = oldmm; in schedule()
678 atomic_inc(&oldmm->mm_count); in schedule()
679 enter_lazy_tlb(oldmm, next, this_cpu); in schedule()
682 switch_mm(oldmm, mm, next, this_cpu); in schedule()
687 mmdrop(oldmm); in schedule()
/linux-2.4.37.9/net/ipv4/ipvs/
Dip_vs_sync.c729 mm_segment_t oldmm; in sync_thread() local
735 oldmm = get_fs(); in sync_thread()
775 set_fs(oldmm); in sync_thread()