Re: [PATCH v3 03/34] arm: mm: Add p?d_large() definitions
From: Kirill A. Shutemov
Date: Fri Mar 01 2019 - 16:47:48 EST
On Wed, Feb 27, 2019 at 05:05:37PM +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 will be provided by the
> p?d_large() functions/macros.
>
> For arm, we already provide most p?d_large() macros. Add a stub for PUD
> as we don't have huge pages at that level.
We do not have PUD for 2- and 3-level paging. Macros from generic header
should cover it, shouldn't it?
--
Kirill A. Shutemov