Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/arch/x86/mm/
A Dinit_64.c534 spin_lock(&init_mm.page_table_lock); in phys_pmd_init()
565 spin_lock(&init_mm.page_table_lock); in phys_pmd_init()
577 spin_lock(&init_mm.page_table_lock); in phys_pmd_init()
651 spin_lock(&init_mm.page_table_lock); in phys_pud_init()
664 spin_lock(&init_mm.page_table_lock); in phys_pud_init()
717 spin_lock(&init_mm.page_table_lock); in phys_p4d_init()
758 spin_lock(&init_mm.page_table_lock); in __kernel_physical_mapping_init()
1018 spin_lock(&init_mm.page_table_lock); in free_pte_table()
1036 spin_lock(&init_mm.page_table_lock); in free_pmd_table()
1054 spin_lock(&init_mm.page_table_lock); in free_pud_table()
[all …]
/linux-6.3-rc2/Documentation/translations/zh_CN/mm/
A 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.3-rc2/arch/powerpc/mm/
A 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()
A Dhugetlbpage.c134 ptl = &mm->page_table_lock; in huge_pte_alloc()
162 ptl = &mm->page_table_lock; in huge_pte_alloc()
/linux-6.3-rc2/mm/
A Dinit-mm.c37 .page_table_lock = __SPIN_LOCK_UNLOCKED(init_mm.page_table_lock),
A Dhugetlb_vmemmap.c61 spin_lock(&init_mm.page_table_lock); in __split_vmemmap_huge_pmd()
78 spin_unlock(&init_mm.page_table_lock); in __split_vmemmap_huge_pmd()
87 spin_lock(&init_mm.page_table_lock); in split_vmemmap_huge_pmd()
89 spin_unlock(&init_mm.page_table_lock); in split_vmemmap_huge_pmd()
A Dpagewalk.c79 spin_lock(&walk->mm->page_table_lock); in walk_hugepd_range()
82 spin_unlock(&walk->mm->page_table_lock); in walk_hugepd_range()
A Dmmap.c1930 spin_lock(&mm->page_table_lock); in expand_upwards()
1940 spin_unlock(&mm->page_table_lock); in expand_upwards()
2012 spin_lock(&mm->page_table_lock); in expand_downwards()
2023 spin_unlock(&mm->page_table_lock); in expand_downwards()
/linux-6.3-rc2/Documentation/mm/
A 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.
33 If split lock is disabled, all tables are guarded by mm->page_table_lock.
47 takes pmd split lock for PMD_SIZE page, mm->page_table_lock
/linux-6.3-rc2/arch/powerpc/mm/book3s64/
A Dpgtable.c291 spin_lock(&mm->page_table_lock); in get_pmd_from_cache()
302 spin_unlock(&mm->page_table_lock); in get_pmd_from_cache()
332 spin_lock(&mm->page_table_lock); in __alloc_for_pmdcache()
342 spin_unlock(&mm->page_table_lock); in __alloc_for_pmdcache()
A Dradix_pgtable.c842 spin_lock(&init_mm.page_table_lock); in remove_pagetable()
868 spin_unlock(&init_mm.page_table_lock); in remove_pagetable()
/linux-6.3-rc2/mm/kasan/
A 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.3-rc2/drivers/iommu/
A Domap-iommu-debug.c187 spin_lock(&obj->page_table_lock); in dump_ioptable()
210 spin_unlock(&obj->page_table_lock); in dump_ioptable()
A 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()
A Domap-iommu.h69 spinlock_t page_table_lock; /* protect iopgd */ member
/linux-6.3-rc2/arch/sparc/mm/
A Dtlb.c269 assert_spin_locked(&mm->page_table_lock); in pgtable_trans_huge_deposit()
284 assert_spin_locked(&mm->page_table_lock); in pgtable_trans_huge_withdraw()
A Dsrmmu.c357 spin_lock(&mm->page_table_lock); in pte_alloc_one()
362 spin_unlock(&mm->page_table_lock); in pte_alloc_one()
372 spin_lock(&mm->page_table_lock); in pte_free()
375 spin_unlock(&mm->page_table_lock); in pte_free()
/linux-6.3-rc2/arch/parisc/include/asm/
A Dmmu_context.h57 spinlock_t *pgd_lock = &next->page_table_lock; in switch_mm_irqs_off()
/linux-6.3-rc2/arch/x86/kernel/
A Dtboot.c104 .page_table_lock = __SPIN_LOCK_UNLOCKED(init_mm.page_table_lock),
/linux-6.3-rc2/arch/x86/xen/
A Dmmu_pv.c655 spin_lock_nest_lock(ptl, &mm->page_table_lock); in xen_pte_lock()
890 spin_lock(&next->page_table_lock); in xen_activate_mm()
892 spin_unlock(&next->page_table_lock); in xen_activate_mm()
897 spin_lock(&mm->page_table_lock); in xen_dup_mmap()
899 spin_unlock(&mm->page_table_lock); in xen_dup_mmap()
982 spin_lock(&mm->page_table_lock); in xen_exit_mmap()
988 spin_unlock(&mm->page_table_lock); in xen_exit_mmap()
/linux-6.3-rc2/arch/arm/lib/
A Duaccess_with_memcpy.c60 ptl = &current->mm->page_table_lock; in pin_page_for_write()
/linux-6.3-rc2/arch/s390/mm/
A Dpgalloc.c105 spin_lock_bh(&mm->page_table_lock); in crst_table_upgrade()
132 spin_unlock_bh(&mm->page_table_lock); in crst_table_upgrade()
/linux-6.3-rc2/drivers/firmware/efi/
A Defi.c69 .page_table_lock = __SPIN_LOCK_UNLOCKED(efi_mm.page_table_lock),
/linux-6.3-rc2/include/linux/
A Dhugetlb.h967 return &mm->page_table_lock; in huge_pte_lockptr()
1179 return &mm->page_table_lock;
A Dmm_types.h618 spinlock_t page_table_lock; /* Protects page tables and some member

Completed in 56 milliseconds

12