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

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Feb 29 13:36:14 AEDT 2016


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 ;-)

Cheers,
Ben.



More information about the Linuxppc-dev mailing list