Home
last modified time | relevance | path

Searched refs:page_table_lock (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.6.21/arch/x86/mm/
Dinit_64.c155 pgt_lock = &pgd_page_get_mm(page)->page_table_lock; in sync_global_pgds_l5()
198 pgt_lock = &pgd_page_get_mm(page)->page_table_lock; in sync_global_pgds_l4()
534 spin_lock(&init_mm.page_table_lock); in phys_pmd_init()
539 spin_unlock(&init_mm.page_table_lock); in phys_pmd_init()
565 spin_lock(&init_mm.page_table_lock); in phys_pmd_init()
569 spin_unlock(&init_mm.page_table_lock); in phys_pmd_init()
577 spin_lock(&init_mm.page_table_lock); in phys_pmd_init()
579 spin_unlock(&init_mm.page_table_lock); in phys_pmd_init()
651 spin_lock(&init_mm.page_table_lock); in phys_pud_init()
655 spin_unlock(&init_mm.page_table_lock); in phys_pud_init()
[all …]
/linux-6.6.21/Documentation/translations/zh_CN/mm/
Dsplit_page_table_lock.rst14 最初,mm->page_table_lock spinlock保护了mm_struct的所有页表。但是这种方
19 PMD表使用分页锁。对高层表的访问由mm->page_table_lock保护。
38 时启用PTE表的分页表锁。如果分页锁被禁用,所有的表都由mm->page_table_lock
52 对PMD_SIZE页面采取pmd分割锁,否则mm->page_table_lock
/linux-6.6.21/arch/powerpc/mm/
Dpgtable-frag.c40 spin_lock(&mm->page_table_lock); in get_pte_from_cache()
51 spin_unlock(&mm->page_table_lock); in get_pte_from_cache()
83 spin_lock(&mm->page_table_lock); in __alloc_for_ptecache()
93 spin_unlock(&mm->page_table_lock); in __alloc_for_ptecache()
Dhugetlbpage.c134 ptl = &mm->page_table_lock; in huge_pte_alloc()
162 ptl = &mm->page_table_lock; in huge_pte_alloc()
/linux-6.6.21/mm/
Dinit-mm.c39 .page_table_lock = __SPIN_LOCK_UNLOCKED(init_mm.page_table_lock),
Dhugetlb_vmemmap.c47 spin_lock(&init_mm.page_table_lock); in split_vmemmap_huge_pmd()
49 spin_unlock(&init_mm.page_table_lock); in split_vmemmap_huge_pmd()
69 spin_lock(&init_mm.page_table_lock); in split_vmemmap_huge_pmd()
86 spin_unlock(&init_mm.page_table_lock); in split_vmemmap_huge_pmd()
Dpagewalk.c94 spin_lock(&walk->mm->page_table_lock); in walk_hugepd_range()
97 spin_unlock(&walk->mm->page_table_lock); in walk_hugepd_range()
Ddebug_vm_pgtable.c1409 spin_lock(&(args.mm->page_table_lock)); in debug_vm_pgtable()
1414 spin_unlock(&(args.mm->page_table_lock)); in debug_vm_pgtable()
/linux-6.6.21/Documentation/mm/
Dsplit_page_table_lock.rst5 Originally, mm->page_table_lock spinlock protected all page tables of the
12 tables. Access to higher level tables protected by mm->page_table_lock.
38 If split lock is disabled, all tables are guarded by mm->page_table_lock.
52 takes pmd split lock for PMD_SIZE page, mm->page_table_lock
/linux-6.6.21/mm/kasan/
Dshadow.c330 spin_lock(&init_mm.page_table_lock); in kasan_populate_vmalloc_pte()
335 spin_unlock(&init_mm.page_table_lock); in kasan_populate_vmalloc_pte()
423 spin_lock(&init_mm.page_table_lock); in kasan_depopulate_vmalloc_pte()
429 spin_unlock(&init_mm.page_table_lock); in kasan_depopulate_vmalloc_pte()
/linux-6.6.21/arch/powerpc/mm/book3s64/
Dpgtable.c370 spin_lock(&mm->page_table_lock); in get_pmd_from_cache()
381 spin_unlock(&mm->page_table_lock); in get_pmd_from_cache()
411 spin_lock(&mm->page_table_lock); in __alloc_for_pmdcache()
421 spin_unlock(&mm->page_table_lock); in __alloc_for_pmdcache()
Dradix_pgtable.c838 spin_lock(&init_mm.page_table_lock); in remove_pagetable()
864 spin_unlock(&init_mm.page_table_lock); in remove_pagetable()
/linux-6.6.21/drivers/iommu/
Domap-iommu-debug.c187 spin_lock(&obj->page_table_lock); in dump_ioptable()
210 spin_unlock(&obj->page_table_lock); in dump_ioptable()
Domap-iommu.c497 spin_unlock(&obj->page_table_lock); in iopte_alloc()
499 spin_lock(&obj->page_table_lock); in iopte_alloc()
653 spin_lock(&obj->page_table_lock); in iopgtable_store_entry_core()
655 spin_unlock(&obj->page_table_lock); in iopgtable_store_entry_core()
761 spin_lock(&obj->page_table_lock); in iopgtable_clear_entry()
766 spin_unlock(&obj->page_table_lock); in iopgtable_clear_entry()
776 spin_lock(&obj->page_table_lock); in iopgtable_clear_entry_all()
798 spin_unlock(&obj->page_table_lock); in iopgtable_clear_entry_all()
1206 spin_lock_init(&obj->page_table_lock); in omap_iommu_probe()
Domap-iommu.h69 spinlock_t page_table_lock; /* protect iopgd */ member
/linux-6.6.21/arch/sparc/mm/
Dtlb.c273 assert_spin_locked(&mm->page_table_lock); in pgtable_trans_huge_deposit()
288 assert_spin_locked(&mm->page_table_lock); in pgtable_trans_huge_withdraw()
Dsrmmu.c357 spin_lock(&mm->page_table_lock); in pte_alloc_one()
363 spin_unlock(&mm->page_table_lock); in pte_alloc_one()
373 spin_lock(&mm->page_table_lock); in pte_free()
376 spin_unlock(&mm->page_table_lock); in pte_free()
/linux-6.6.21/arch/parisc/include/asm/
Dmmu_context.h57 spinlock_t *pgd_lock = &next->page_table_lock; in switch_mm_irqs_off()
/linux-6.6.21/arch/x86/kernel/
Dtboot.c104 .page_table_lock = __SPIN_LOCK_UNLOCKED(init_mm.page_table_lock),
/linux-6.6.21/arch/arm/lib/
Duaccess_with_memcpy.c60 ptl = &current->mm->page_table_lock; in pin_page_for_write()
/linux-6.6.21/arch/s390/mm/
Dpgalloc.c95 spin_lock_bh(&mm->page_table_lock); in crst_table_upgrade()
122 spin_unlock_bh(&mm->page_table_lock); in crst_table_upgrade()
/linux-6.6.21/arch/x86/xen/
Dmmu_pv.c671 spin_lock_nest_lock(ptl, &mm->page_table_lock); in xen_pte_lock()
906 spin_lock(&mm->page_table_lock); in xen_enter_mmap()
908 spin_unlock(&mm->page_table_lock); in xen_enter_mmap()
991 spin_lock(&mm->page_table_lock); in xen_exit_mmap()
997 spin_unlock(&mm->page_table_lock); in xen_exit_mmap()
/linux-6.6.21/include/linux/
Dhugetlb.h975 return &mm->page_table_lock; in huge_pte_lockptr()
1184 return &mm->page_table_lock;
Dmm_types.h748 spinlock_t page_table_lock; /* Protects page tables and some member
/linux-6.6.21/drivers/firmware/efi/
Defi.c72 .page_table_lock = __SPIN_LOCK_UNLOCKED(efi_mm.page_table_lock),

12