# Re: \[PATCH 04/11\] mm: page\_vma\_mapped\_walk(): use pmde for \*pvmw-\>pmd

- From: Peter Xu \<peterx@redhat.com\>
- Date: 2021-06-10 14:31:14 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2021/06/1410037
- Thread: https://ratatoskr.run/linux-mm/2021/06/1409492/t.md

```text
On Wed, Jun 09, 2021 at 11:40:08PM -0700, Hugh Dickins wrote:
> page_vma_mapped_walk() cleanup: re-evaluate pmde after taking lock, then
> use it in subsequent tests, instead of repeatedly dereferencing pointer.
> 
> Signed-off-by: Hugh Dickins <hughd@google.com>
> Cc: <redacted>

Reviewed-by: Peter Xu <peterx@redhat.com>

-- 
Peter Xu


```
