[PATCH] selftests/powerpc/mm: Add a test for virtual address mapping

Anshuman Khandual khandual at linux.vnet.ibm.com
Mon Apr 17 13:41:57 AEST 2017


On 04/15/2017 01:48 AM, Michal Suchanek wrote:
> Hello,
> 
> On Wed, 12 Apr 2017 15:11:12 +0530
> Anshuman Khandual <khandual at linux.vnet.ibm.com> wrote:
> 
>> This verifies virtual address mapping below and above the
>> 128TB range and makes sure that address returned are within
>> the expected range depending upon the hint passed from the
>> user space.
> 
> This description does not mention anything PPC specific. Can this be
> generalized to work with Intel L5 enabled kernel as well?

Hmm, I am not completely aware about the proposed mmap interface
for 128TB and beyond till 512TB by Kirill on x86. If both powerpc
and x86 will have the same semantics, then this test is generic
enough to cover both the architectures and will move it into
selftests/vm/ instead of current selftests/powerpc/mm.



More information about the Linuxppc-dev mailing list