Re: [PATCH 09/11] mm: page_vma_mapped_walk(): get vma_address_end() earlier

Kirill A. Shutemov
2021-06-10T09:39:57Z

On Wed, Jun 09, 2021 at 11:50:23PM -0700, Hugh Dickins wrote:
> page_vma_mapped_walk() cleanup: get THP's vma_address_end() at the start,
> rather than later at next_pte. It's a little unnecessary overhead on the
> first call, but makes for a simpler loop in the following commit.
>
> Signed-off-by: Hugh Dickins <hughd@google.com>
> Cc: <stable@vger.kernel.org>

Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>

--
Kirill A. Shutemov