Re: [PATCH v11 02/22] arc: mm: Add p?d_leaf() definitions

From: Vineet Gupta
Date: Tue Oct 08 2019 - 16:19:34 EST


On 10/7/19 8:38 AM, Steven Price wrote:
> walk_page_range() is going to be allowed to walk page tables other than
> those of user space. For this it needs to know when it has reached a
> 'leaf' entry in the page tables. This information will be provided by the
> p?d_leaf() functions/macros.
>
> For arc, we only have two levels, so only pmd_leaf() is needed.
>
> CC: Vineet Gupta <vgupta@xxxxxxxxxxxx>
> CC: linux-snps-arc@xxxxxxxxxxxxxxxxxxx
> Signed-off-by: Steven Price <steven.price@xxxxxxx>

Acked-by: Vineet Gupta <vgupta@xxxxxxxxxxxx>

-Vineet