mbox series

[v1,0/4] mmapstress01: refactor to ltp framework

Message ID 20220926182625.103275-1-edliaw@google.com
Headers show
Series mmapstress01: refactor to ltp framework | expand

Message

Edward Liaw Sept. 26, 2022, 6:26 p.m. UTC
Attempt to refactor mmapstress01 to use the ltp framework.

It was using LARGE_FILE to switch between 32 and 64 bit sized off_t. Is
it correct to use FILE_OFFSET_BITS instead?

Edward Liaw (4):
  mmapstress01: refactor to tst_test framework
  mmapstress01: refactor options
  mmapstress01: use FILE_OFFSET_BITS=64
  mmapstress01: use safe macros

 testcases/kernel/mem/mmapstress/Makefile      |   2 +
 .../kernel/mem/mmapstress/mmapstress01.c      | 624 ++++++------------
 2 files changed, 212 insertions(+), 414 deletions(-)

Comments

Edward Liaw Sept. 30, 2022, 5:52 p.m. UTC | #1
Will send a v2 to clean up formatting and fix up a few things I missed.

On Mon, Sep 26, 2022 at 11:26 AM Edward Liaw <edliaw@google.com> wrote:

> Attempt to refactor mmapstress01 to use the ltp framework.
>
> It was using LARGE_FILE to switch between 32 and 64 bit sized off_t. Is
> it correct to use FILE_OFFSET_BITS instead?
>
> Edward Liaw (4):
>   mmapstress01: refactor to tst_test framework
>   mmapstress01: refactor options
>   mmapstress01: use FILE_OFFSET_BITS=64
>   mmapstress01: use safe macros
>
>  testcases/kernel/mem/mmapstress/Makefile      |   2 +
>  .../kernel/mem/mmapstress/mmapstress01.c      | 624 ++++++------------
>  2 files changed, 212 insertions(+), 414 deletions(-)
>
> --
> 2.37.3.998.g577e59143f-goog
>
>