Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Dmremap.c143 spinlock_t *old_ptl, *new_ptl; in move_ptes() local
174 new_ptl = pte_lockptr(mm, new_pmd); in move_ptes()
175 if (new_ptl != old_ptl) in move_ptes()
176 spin_lock_nested(new_ptl, SINGLE_DEPTH_NESTING); in move_ptes()
207 if (new_ptl != old_ptl) in move_ptes()
208 spin_unlock(new_ptl); in move_ptes()
228 spinlock_t *old_ptl, *new_ptl; in move_normal_pmd() local
265 new_ptl = pmd_lockptr(mm, new_pmd); in move_normal_pmd()
266 if (new_ptl != old_ptl) in move_normal_pmd()
267 spin_lock_nested(new_ptl, SINGLE_DEPTH_NESTING); in move_normal_pmd()
[all …]
Dhuge_memory.c1727 spinlock_t *old_ptl, *new_ptl; in move_huge_pmd() local
1747 new_ptl = pmd_lockptr(mm, new_pmd); in move_huge_pmd()
1748 if (new_ptl != old_ptl) in move_huge_pmd()
1749 spin_lock_nested(new_ptl, SINGLE_DEPTH_NESTING); in move_huge_pmd()
1755 if (pmd_move_must_withdraw(new_ptl, old_ptl, vma)) { in move_huge_pmd()
1764 if (new_ptl != old_ptl) in move_huge_pmd()
1765 spin_unlock(new_ptl); in move_huge_pmd()