Re: [PATCH 01/13] arm64: mm: Add p?d_large() definitions

From: Peter Zijlstra
Date: Mon Feb 18 2019 - 10:07:19 EST


On Mon, Feb 18, 2019 at 02:29:52PM +0000, Mark Rutland wrote:
> I think that Peter means p?d_huge(x) should imply p?d_large(x), e.g.
>
> #define pmd_large(x) \
> (pmd_sect(x) || pmd_huge(x) || pmd_trans_huge(x))
>
> ... which should work regardless of CONFIG_HUGETLB_PAGE.

Yep, that.