Home
last modified time | relevance | path

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

/Linux-v6.6/arch/powerpc/lib/
Dcode-patching.c288 struct mm_struct *patching_mm; in __do_patch_instruction_mm() local
292 patching_mm = __this_cpu_read(cpu_patching_context.mm); in __do_patch_instruction_mm()
296 pte = get_locked_pte(patching_mm, text_poke_addr, &ptl); in __do_patch_instruction_mm()
300 __set_pte_at(patching_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); in __do_patch_instruction_mm()
308 orig_mm = start_using_temp_mm(patching_mm); in __do_patch_instruction_mm()
317 stop_using_temp_mm(patching_mm, orig_mm); in __do_patch_instruction_mm()
319 pte_clear(patching_mm, text_poke_addr, pte); in __do_patch_instruction_mm()
324 local_flush_tlb_page_psize(patching_mm, text_poke_addr, mmu_virtual_psize); in __do_patch_instruction_mm()