[RFC PATCH 2/2] powerpc/mm: Replace _PAGE_USER with _PAGE_PRIV

Aneesh Kumar K.V aneesh.kumar at linux.vnet.ibm.com
Mon Feb 29 18:49:37 AEDT 2016


Benjamin Herrenschmidt <benh at kernel.crashing.org> writes:

> On Fri, 2016-02-26 at 08:50 +0530, Aneesh Kumar K.V wrote:
>> _PAGE_PRIV means the page can be accessed only by kernel. This is
>> done
>> to keep pte bits similar to PowerISA 3.0 radix PTE format. User
>> pages are now makred by clearing _PAGE_PRIV bit.
>
> Very minor nit: It's not clear that PRIV means PRIVILEGED (rather than
> PRIVATE). Can you spell it out completely instead ? I like things being
> self-describing ;-)
>

Ok, I will update this

Thanks,
-aneesh



More information about the Linuxppc-dev mailing list