Home
last modified time | relevance | path

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

12345

/linux/Documentation/translations/zh_CN/mm/
H A Dactive_mm.rst3 :Original: Documentation/mm/active_mm.rst
21 Subject: Re: active_mm
31 > "mm" 和 "active_mm"应该如何使用? (如果
50 有 “tsk->active_mm”,它显示了当前活动的地址空间是什么。
52 规则是,对于一个有真实地址空间的进程(即tsk->mm是 non-NULL),active_mm
55 对于一个匿名进程,tsk->mm == NULL,而tsk->active_mm是匿名进程运行时
H A Dindex.rst40 active_mm
/linux/arch/hexagon/mm/
H A Dvm_tlb.c31 if (mm->context.ptbase == current->active_mm->context.ptbase) in flush_tlb_range()
60 if (current->active_mm->context.ptbase == mm->context.ptbase) in flush_tlb_mm()
71 if (mm->context.ptbase == current->active_mm->context.ptbase) in flush_tlb_page()
/linux/arch/alpha/include/asm/
H A Dtlbflush.h51 flush_tlb_current(current->active_mm); in flush_tlb()
76 if (mm == current->active_mm) in flush_tlb_mm()
88 if (mm == current->active_mm) in flush_tlb_page()
H A Dcacheflush.h43 if (current->active_mm == mm) in flush_icache_user_page()
/linux/arch/arc/kernel/
H A Dtroubleshoot.c80 struct mm_struct *active_mm = current->active_mm; in show_faulting_vma() local
85 mmap_read_lock(active_mm); in show_faulting_vma()
86 vma = vma_lookup(active_mm, address); in show_faulting_vma()
109 mmap_read_unlock(active_mm); in show_faulting_vma()
/linux/arch/powerpc/kernel/
H A Dswsusp.c31 switch_mmu_context(current->active_mm, current->active_mm, NULL); in restore_processor_state()
/linux/arch/alpha/kernel/
H A Dsmp.c148 current->active_mm = &init_mm; in smp_callin()
168 cpuid, current, current->active_mm)); in smp_callin()
628 if (mm == current->active_mm && !asn_locked()) in ipi_flush_tlb_mm()
639 if (mm == current->active_mm) { in flush_tlb_mm()
672 if (mm == current->active_mm && !asn_locked()) in ipi_flush_tlb_page()
686 if (mm == current->active_mm) { in flush_tlb_page()
723 if (mm == current->active_mm && !asn_locked()) in ipi_flush_icache_page()
740 if (mm == current->active_mm) { in flush_icache_user_page()
/linux/arch/sparc/include/asm/
H A Dmmu_context_32.h28 #define activate_mm(active_mm, mm) switch_mm((active_mm), (mm), NULL) argument
H A Dmmu_context_64.h138 #define activate_mm(active_mm, mm) switch_mm(active_mm, mm, NULL) argument
H A Dswitch_to_32.h61 cpumask_set_cpu(smp_processor_id(), mm_cpumask(next->active_mm)); \
/linux/Documentation/mm/
H A Dactive_mm.rst6 (running tasks with ->active_mm == mm && ->mm == NULL) on kernels
14 Subject: Re: active_mm
23 > Is there a brief description someplace on how "mm" vs. "active_mm" in
49 "stole" for such an anonymous user. For that, we have "tsk->active_mm",
53 non-NULL) the active_mm obviously always has to be the same as the real
56 For a anonymous process, tsk->mm == NULL, and tsk->active_mm is the
/linux/arch/m68k/include/asm/
H A Dtlbflush.h80 if (mm == current->active_mm) in flush_tlb_mm()
86 if (vma->vm_mm == current->active_mm) in flush_tlb_page()
93 if (vma->vm_mm == current->active_mm) in flush_tlb_range()
/linux/arch/hexagon/include/asm/
H A Dpgalloc.h74 current->active_mm->context.generation = kmap_generation; in pmd_populate_kernel()
84 ppmd = (pmd_t *)current->active_mm->pgd + pmdindex; in pmd_populate_kernel()
/linux/arch/arm64/include/asm/
H A Defi.h126 if (mm != current->active_mm) { in efi_set_pgd()
144 update_saved_ttbr0(current, current->active_mm); in efi_set_pgd()
/linux/drivers/firmware/efi/
H A Driscv-runtime.c136 switch_mm(current->active_mm, &efi_mm, NULL); in efi_virtmap_load()
141 switch_mm(&efi_mm, current->active_mm, NULL); in efi_virtmap_unload()
/linux/arch/sparc/mm/
H A Dfault_32.c51 (tsk->mm ? tsk->mm->context : tsk->active_mm->context)); in unhandled_fault()
54 (unsigned long) tsk->active_mm->pgd)); in unhandled_fault()
278 pgd = tsk->active_mm->pgd + offset; in do_sparc_fault()
/linux/arch/sparc/power/
H A Dhibernate.c37 struct mm_struct *mm = current->active_mm; in restore_processor_state()
/linux/arch/sparc/kernel/
H A Dunaligned_32.c229 current->active_mm->context)); in kernel_mna_trap_fault()
232 (unsigned long) current->active_mm->pgd)); in kernel_mna_trap_fault()
/linux/arch/parisc/include/asm/
H A Dtlbflush.h58 if (mm == current->active_mm) in flush_tlb_mm()
/linux/arch/openrisc/kernel/
H A Dasm-offsets.c44 DEFINE(TASK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main()
/linux/arch/arm/mm/
H A Dtlb-v4.S33 act_mm r3 @ get current->active_mm
/linux/kernel/
H A Dkthread.c1431 struct mm_struct *active_mm; in kthread_use_mm() local
1447 active_mm = tsk->active_mm; in kthread_use_mm()
1448 tsk->active_mm = mm; in kthread_use_mm()
1451 switch_mm_irqs_off(active_mm, mm, tsk); in kthread_use_mm()
1467 mmdrop_lazy_tlb(active_mm); in kthread_use_mm()
/linux/arch/sh/mm/
H A Dtlb-sh3.c34 if (vma && current->active_mm != vma->vm_mm) in __update_tlb()
/linux/arch/xtensa/mm/
H A Dtlb.c68 if (mm == current->active_mm) { in local_flush_tlb_mm()
186 mm = task->active_mm; in get_pte_for_vaddr()

12345