[LTP] [PATCH 2/2] mm: enlarge mmap HIGH_ADDR value for s390 arch

Li Wang liwang@redhat.com
Fri Nov 10 07:04:56 CET 2017


On Wed, Nov 8, 2017 at 4:13 PM, Jan Stancek <jstancek@redhat.com> wrote:
>
>
> ----- Original Message -----
>> The kernel commit 1aea9b3f92 (s390/mm: implement 5 level pages tables)
>> enlarge the maximum address in the tasks address space from (1UL << 53)
>> to (-PAGE_SIZE) on s390 platform.
>>
>> We have to increase the HIGH_ADDR in ltp testcases accordingly otherwise
>> that would be failed with succeeded mmap into high region:
>>
>> mmap15.c:
>> mmap15  1  TFAIL  :  mmap15.c:77: mmap into high region succeeded
>> unexpectedly
>>
>> mmapstress03.c:
>> mmapstress03: errno = 25: really large mmap didn't fail
>> mmapstress03    0  TINFO  :  uname.machine=s390x kernel is 32bit
>
>                                      Isn't this the problem? ^^

I did some more test on s390x platform with upstream kernel-v4.14-rc8.
Seems the mmapstress03.c failures was caused by wrong kernel_bits value.

# uname -rm
4.14.0-rc8+ s390x






-- 
Li Wang
liwang@redhat.com


More information about the ltp mailing list