# Re: \[PATCH 08/11\] mm: page\_vma\_mapped\_walk(): use goto instead of while (1)

- From: Kirill A. Shutemov \<hidden\>
- Date: 2021-06-10 09:40:42 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2021/06/1409745
- Thread: https://ratatoskr.run/linux-mm/2021/06/1409492/t.md

```text
On Wed, Jun 09, 2021 at 11:48:27PM -0700, Hugh Dickins wrote:
> page_vma_mapped_walk() cleanup: add a label this_pte, matching next_pte,
> and use "goto this_pte", in place of the "while (1)" loop at the end.
> 
> Signed-off-by: Hugh Dickins <hughd@google.com>
> Cc: <redacted>

Acked-by: Kirill A. Shutemov <redacted>

-- 
 Kirill A. Shutemov

```
