Skip to content

Collection of fixes

Punit Agrawal ltp 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest12 patches 0 repliesNew
  2. v2 posting 2/20 of 13 patches 0 repliesSuperseded
  3. v2 posting 1/213 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v118 patches0 repliesSuperseded

Changes in v3 from the cover letter

* Dropped check for THP in Patch 2 for thp01.c
* Updated parent/child synchronisation to cover for cases missed in the previous version of Patch 3
* Improved detection of successful child exit based on feedback in Patch 8
* Patch 9 - renamed helper binary and used TST_RESOURCE_COPY() to copy the helper in setup and before usage
* Patch 10 - Changed loop to open files to be infinite. Test still breaks out of the loop if there is an error opening the file.
* Dropped Patch 12

[0] http://lists.linux.it/pipermail/ltp/2017-November/006414.html
[1] http://lists.linux.it/pipermail/ltp/2017-October/006225.html

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12Move check_hugepage() helper to mem/libtestcases/kernel/mem/hugetlb/lib/hugetlb.c testcases/kernel/mem/hugetlb/lib/hugetlb.h testcases/kernel/mem/include/mem.h +1 more+8 -81 reply
2/12thp: ensure hugetlbfs is availabletestcases/kernel/mem/thp/thp02.c testcases/kernel/mem/thp/thp03.c+4 -01 reply
3/12hugeshmctl01: Convert to LTP synchronisation primitivestestcases/kernel/mem/hugetlb/hugeshmctl/hugeshmctl01.c+12 -600 replies
4/12hugeshmctl01: Fix warning about signed/unsigned comparisontestcases/kernel/mem/hugetlb/hugeshmctl/hugeshmctl01.c+4 -31 reply
5/12hugeshmctl02: Fix allocation size for odd number of hugepagestestcases/kernel/mem/hugetlb/hugeshmctl/hugeshmctl02.c+1 -10 replies
6/12hugeshmget02: add missing SHM_HUGETLB flag on segment creationtestcases/kernel/mem/hugetlb/hugeshmget/hugeshmget02.c+2 -10 replies
7/12sigwaitinfo01: fix race between sending and dequeueing RT signalstestcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01.c+5 -00 replies
8/12sigwaitinfo01: catch SEGV and report success for bad_address2 testcasetestcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01.c+21 -21 reply
8/12sigwaitinfo01: catch SEGV and report success for bad_address2 testcase+0 -01 reply
9/12syscalls/mount03: Copy setuid_test to execute instead of 'TEST FILE'testcases/kernel/syscalls/mount/mount03.c testcases/kernel/syscalls/mount/mount03_setuid_test.c+7 -41 reply
9/12syscalls/mount03: Copy setuid_test to execute instead of 'TEST FILE'+0 -01 reply
9/12syscalls/mount03: Copy setuid_test to execute instead of 'TEST FILE'+0 -01 reply
9/12syscalls/mount03: Copy setuid_test to execute instead of 'TEST FILE'+0 -00 replies
10/12getdtablesize01: Handle ENFILE errnotestcases/kernel/syscalls/getdtablesize/getdtablesize01.c+9 -61 reply
10/12getdtablesize01: Handle ENFILE errno+0 -00 replies
11/12perf_event_open: Handle absence of PMU gracefullytestcases/kernel/syscalls/perf_event_open/perf_event_open01.c testcases/kernel/syscalls/perf_event_open/perf_event_open02.c+4 -30 replies
12/12hotplug/cpu_hotplug: Remove bashism disown from kill_pid()testcases/kernel/hotplug/cpu_hotplug/include/cpuhotplug_testsuite.sh+0 -11 reply
12/12hotplug/cpu_hotplug: Remove bashism disown from kill_pid()+0 -00 replies

Reviews trailers per patch

5 of 18 patches have a Reviewed-by or Acked-by.

PatchPetr Vorel
1/12A-b
2/12A-b
3/12
4/12A-b
5/12
6/12
7/12
8/12
8/12
9/12
9/12
9/12
9/12
10/12
10/12
11/12
12/12A-b
12/12A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [LTP] [PATCH v3 00/12] Collection of fixes

Hi again,

This is the third posting of a collection of fixes for issues encountered when running ltp on internal test platforms. Previous versions can be found at [0][1]. This update addresses all the feedback received on the previous version.

Changes from v2:

* Dropped check for THP in Patch 2 for thp01.c
* Updated parent/child synchronisation to cover for cases missed in the previous version of Patch 3
* Improved detection of successful child exit based on feedback in Patch 8
* Patch 9 - renamed helper binary and used TST_RESOURCE_COPY() to copy the helper in setup and before usage
* Patch 10 - Changed loop to open files to be infinite. Test still breaks out of the loop if there is an error opening the file.
* Dropped Patch 12

[0] http://lists.linux.it/pipermail/ltp/2017-November/006414.html
[1] http://lists.linux.it/pipermail/ltp/2017-October/006225.html

James Morse (1):
hotplug/cpu_hotplug: Remove bashism disown from kill_pid()

Lorenzo Pieralisi (1):
hugeshmget02: add missing SHM_HUGETLB flag on segment creation

Punit Agrawal (5):
Move check_hugepage() helper to mem/lib
hugeshmctl01: Convert to LTP synchronisation primitives
hugeshmctl01: Fix warning about signed/unsigned comparison
sigwaitinfo01: catch SEGV and report success for bad_address2 testcase syscalls/mount03: Copy setuid_test to execute instead of 'TEST FILE'

Suzuki K. Poulose (3):
hugeshmctl02: Fix allocation size for odd number of hugepages
getdtablesize01: Handle ENFILE errno
perf_event_open: Handle absence of PMU gracefully

Will Deacon (2):
thp: ensure hugetlbfs is available
sigwaitinfo01: fix race between sending and dequeueing RT signals

 .../cpu_hotplug/include/cpuhotplug_testsuite.sh    |  1 -
 .../kernel/mem/hugetlb/hugeshmctl/hugeshmctl01.c   | 75 ++++------------------
 .../kernel/mem/hugetlb/hugeshmctl/hugeshmctl02.c   |  2 +-
 .../kernel/mem/hugetlb/hugeshmget/hugeshmget02.c   |  3 +-
 testcases/kernel/mem/hugetlb/lib/hugetlb.c         |  7 --
 testcases/kernel/mem/hugetlb/lib/hugetlb.h         |  1 -
 testcases/kernel/mem/include/mem.h                 |  2 +
 testcases/kernel/mem/lib/mem.c                     |  6 ++
 testcases/kernel/mem/thp/thp02.c                   |  2 +
 testcases/kernel/mem/thp/thp03.c                   |  2 +
 .../syscalls/getdtablesize/getdtablesize01.c       | 15 +++--
 testcases/kernel/syscalls/mount/mount03.c          | 11 ++--
 .../mount/{setuid_test.c => mount03_setuid_test.c} |  0
 .../syscalls/perf_event_open/perf_event_open01.c   |  3 +-
 .../syscalls/perf_event_open/perf_event_open02.c   |  4 +-
 .../kernel/syscalls/sigwaitinfo/sigwaitinfo01.c    | 28 +++++++-
 16 files changed, 75 insertions(+), 87 deletions(-)
 rename testcases/kernel/syscalls/mount/{setuid_test.c => mount03_setuid_test.c} (100%)
Signature · 1 line
2.15.0