[lkml]   [2020]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 5.4 000/191] 5.4.8-stable review
On Fri, 3 Jan 2020 at 03:42, Greg Kroah-Hartman
<> wrote:
> This is the start of the stable review cycle for the 5.4.8 release.
> There are 191 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
> Responses should be made by Sat, 04 Jan 2020 21:55:35 +0000.
> Anything received after that time might be too late.
> The whole patch series can be found in one patch at:
> or in the git tree and branch at:
> git:// linux-5.4.y
> and the diffstat can be found below.
> thanks,
> greg k-h

LTP syscalls memfd_create04 failed on arm64 devices.
Test PASS on arm, i386 and x86_64.

We are bisecting this failure on arm64.

Test case failed log,
memfd_create04.c:68: INFO: Attempt to create file using 64kB huge page size
memfd_create04.c:76: FAIL: memfd_create() failed unexpectedly: ENOENT (2)

Strace output:
memfd_create(\"tfile\", MFD_HUGETLB|0x40000000) = -1 ENOENT (No such
file or directory)

Test case Description,

* Test: Validating memfd_create() with MFD_HUGETLB and MFD_HUGE_x flags.
* Test cases: Attempt to create files in the hugetlbfs filesystem using
* different huge page sizes.
* Test logic: memfd_create() should return non-negative value (fd)
* if the system supports that particular huge page size.
* On success, fd is returned.
* On failure, -1 is returned with ENODEV error.

Test code snippet:
"Attempt to create file using %s huge page size",

fd = sys_memfd_create("tfile", MFD_HUGETLB | tflag.flag);
if (fd < 0) {
if (errno == tflag.exp_err)
tst_res(TPASS, "Test failed as expected\n");
tst_brk(TFAIL | TERRNO,
"memfd_create() failed unexpectedly");

Steps to reproduce:
- cd /opt/ltp/testcases/bin/
- ./memfd_create04

Test output log,

Test results comparison,

Linaro LKFT

 \ /
  Last update: 2020-01-03 16:04    [W:0.554 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site