Re: [PATCH 07/16] mm/huge_memory: minor cleanup for split_huge_pages_pid

From: Kirill A. Shutemov
Date: Thu Jun 23 2022 - 00:50:28 EST


On Thu, Jun 23, 2022 at 01:06:18AM +0800, Miaohe Lin wrote:
> Use helper function vma_lookup to lookup the needed vma and use help macro
> IS_ERR_OR_NULL to check the validity of page to simplify the code. Minor
> readability improvement.

Grouping of changing seems random, but okay.

--
Kirill A. Shutemov