File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,7 @@ bool page_vma_mapped_walk(struct page_vma_mapped_walk *pvmw)
144
144
{
145
145
struct mm_struct * mm = pvmw -> vma -> vm_mm ;
146
146
struct page * page = pvmw -> page ;
147
+ unsigned long end ;
147
148
pgd_t * pgd ;
148
149
p4d_t * p4d ;
149
150
pud_t * pud ;
@@ -233,10 +234,7 @@ bool page_vma_mapped_walk(struct page_vma_mapped_walk *pvmw)
233
234
}
234
235
if (!map_pte (pvmw ))
235
236
goto next_pte ;
236
- }
237
- while (1 ) {
238
- unsigned long end ;
239
-
237
+ this_pte :
240
238
if (check_pte (pvmw ))
241
239
return true;
242
240
next_pte :
@@ -265,6 +263,7 @@ bool page_vma_mapped_walk(struct page_vma_mapped_walk *pvmw)
265
263
pvmw -> ptl = pte_lockptr (mm , pvmw -> pmd );
266
264
spin_lock (pvmw -> ptl );
267
265
}
266
+ goto this_pte ;
268
267
}
269
268
}
270
269
You can’t perform that action at this time.
0 commit comments