Re: [PATCH v3 08/34] ia64: mm: Add p?d_large() definitions

From: Kirill A. Shutemov
Date: Fri Mar 01 2019 - 16:57:40 EST


On Wed, Feb 27, 2019 at 05:05:42PM +0000, 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 is provided by the
> p?d_large() functions/macros.
>
> For ia64 leaf entries are always at the lowest level, so implement
> stubs returning 0.

Are you sure about this? I see pte_mkhuge defined for ia64 and Kconfig
contains hugetlb references.

--
Kirill A. Shutemov