/linux-6.6.21/arch/x86/mm/ |
D | init_64.c | 155 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/ |
D | split_page_table_lock.rst | 14 最初,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/ |
D | pgtable-frag.c | 40 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()
|
D | hugetlbpage.c | 134 ptl = &mm->page_table_lock; in huge_pte_alloc() 162 ptl = &mm->page_table_lock; in huge_pte_alloc()
|
/linux-6.6.21/mm/ |
D | init-mm.c | 39 .page_table_lock = __SPIN_LOCK_UNLOCKED(init_mm.page_table_lock),
|
D | hugetlb_vmemmap.c | 47 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()
|
D | pagewalk.c | 94 spin_lock(&walk->mm->page_table_lock); in walk_hugepd_range() 97 spin_unlock(&walk->mm->page_table_lock); in walk_hugepd_range()
|
D | debug_vm_pgtable.c | 1409 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/ |
D | split_page_table_lock.rst | 5 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/ |
D | shadow.c | 330 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/ |
D | pgtable.c | 370 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()
|
D | radix_pgtable.c | 838 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/ |
D | omap-iommu-debug.c | 187 spin_lock(&obj->page_table_lock); in dump_ioptable() 210 spin_unlock(&obj->page_table_lock); in dump_ioptable()
|
D | omap-iommu.c | 497 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()
|
D | omap-iommu.h | 69 spinlock_t page_table_lock; /* protect iopgd */ member
|
/linux-6.6.21/arch/sparc/mm/ |
D | tlb.c | 273 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()
|
D | srmmu.c | 357 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/ |
D | mmu_context.h | 57 spinlock_t *pgd_lock = &next->page_table_lock; in switch_mm_irqs_off()
|
/linux-6.6.21/arch/x86/kernel/ |
D | tboot.c | 104 .page_table_lock = __SPIN_LOCK_UNLOCKED(init_mm.page_table_lock),
|
/linux-6.6.21/arch/arm/lib/ |
D | uaccess_with_memcpy.c | 60 ptl = ¤t->mm->page_table_lock; in pin_page_for_write()
|
/linux-6.6.21/arch/s390/mm/ |
D | pgalloc.c | 95 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/ |
D | mmu_pv.c | 671 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/ |
D | hugetlb.h | 975 return &mm->page_table_lock; in huge_pte_lockptr() 1184 return &mm->page_table_lock;
|
D | mm_types.h | 748 spinlock_t page_table_lock; /* Protects page tables and some member
|
/linux-6.6.21/drivers/firmware/efi/ |
D | efi.c | 72 .page_table_lock = __SPIN_LOCK_UNLOCKED(efi_mm.page_table_lock),
|