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

From: Helge Deller
Date: Tue Mar 05 2019 - 16:46:43 EST


On 01.03.19 23:12, Kirill A. Shutemov wrote:
> On Wed, Feb 27, 2019 at 07:54:22PM +0100, Helge Deller wrote:
>> On 27.02.19 18:05, 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 parisc, we don't support large pages, so add stubs returning 0.
>>
>> We do support huge pages on parisc, but not yet on those levels.
>
> Just curious, what level do parisc supports huge pages on?
> AFAICS, it can have 2- or 3- level paging and the patch defines helpers
> for two level: pgd and pmd. Hm?

You are correct.
My comment was misleading and meant to say that we do support generic
huge pages for applications.

Helge