We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04ec006 commit 8f0b747Copy full SHA for 8f0b747
mm/page_vma_mapped.c
@@ -174,8 +174,7 @@ bool page_vma_mapped_walk(struct page_vma_mapped_walk *pvmw)
174
if (!pvmw->pte)
175
return false;
176
177
- pvmw->ptl = huge_pte_lockptr(hstate, mm, pvmw->pte);
178
- spin_lock(pvmw->ptl);
+ pvmw->ptl = huge_pte_lock(hstate, mm, pvmw->pte);
179
if (!check_pte(pvmw))
180
return not_found(pvmw);
181
return true;
0 commit comments