[LTP] [PATCH v4 0/4] mmapstress01: refactor to ltp framework

Edward Liaw edliaw@google.com
Thu Oct 6 20:42:24 CEST 2022


v3->v4:
* squash previous changes
* set defaults of nprocs=20 and max_runtime=12
* clean up comments
* return TBROK instead of TFAIL for unexpected failures

v2->v3:
* apply make check lint suggestions
* refactor cleanup
* use SAFE_FORK
* update license

v1->v2:
* clean up formatting
* remove accidental change to header comment
* use SAFE_MMAP

v0->v1:
* use tst_test framework
* use FILE_OFFSET_BITS=64 instead of LARGE_FILE
* use safe macros

Edward Liaw (4):
  mmapstress01: refactor to tst_test framework
  mmapstress01: default nprocs 20 and cleanup
  mmapstress01: return TBROK for unexpected failures and TERRNO if
    syscall fails
  mmapstress01: use max_runtime

 testcases/kernel/mem/mmapstress/Makefile      |   2 +
 .../kernel/mem/mmapstress/mmapstress01.c      | 864 ++++++------------
 2 files changed, 276 insertions(+), 590 deletions(-)

-- 
2.38.0.rc1.362.ged0d419d3c-goog



More information about the ltp mailing list