[PATCH 0/6] selftests/mm: Fix false positives and skip unsupported tests

Aboorva Devarajan posted 6 patches 3 months, 3 weeks ago
There is a newer version of this series
.../selftests/mm/ksm_functional_tests.c       | 24 +++++++++++++------
.../selftests/mm/split_huge_page_test.c       | 23 ++++++++++++++----
tools/testing/selftests/mm/thuge-gen.c        | 11 +++++----
.../selftests/mm/virtual_address_range.c      | 14 +++--------
4 files changed, 45 insertions(+), 27 deletions(-)
[PATCH 0/6] selftests/mm: Fix false positives and skip unsupported tests
Posted by Aboorva Devarajan 3 months, 3 weeks ago
This patch series fixes some of the false positives in generic
mm selftests and skips tests that cannot run correctly due to
missing features or system limitations.

Please let us know if you have any feedback.

Thanks,  
Aboorva

Aboorva Devarajan (2):
  selftests/mm: Fix child process exit codes in KSM tests
  selftests/mm: Mark thuge-gen as skipped if shmmax is too small or no
    1G pages

Donet Tom (4):
  mm/selftests: Fix virtual_address_range test issues.
  selftest/mm: Fix ksm_funtional_test failures
  selftests/mm : fix test_prctl_fork_exec failure
  mm/selftests: Fix split_huge_page_test failure on systems with 64KB
    page size

 .../selftests/mm/ksm_functional_tests.c       | 24 +++++++++++++------
 .../selftests/mm/split_huge_page_test.c       | 23 ++++++++++++++----
 tools/testing/selftests/mm/thuge-gen.c        | 11 +++++----
 .../selftests/mm/virtual_address_range.c      | 14 +++--------
 4 files changed, 45 insertions(+), 27 deletions(-)

-- 
2.43.5
Re: [PATCH 0/6] selftests/mm: Fix false positives and skip unsupported tests
Posted by Lorenzo Stoakes 3 months, 3 weeks ago
Hi Aboorva,

It's (highly!) forgivable as things have changed fairly recently, but the
tippy tip of mm development is now done in the mm-new branch, against which
this series doesn't apply.

I thought this might be the case, as there is a series I implemented there
that changes the split huge page tests (possibly affecting more), hence me
checking!

So you'll need to rebase against mm-new, unfortunately!

Thanks, Lorenzo

On Mon, Jun 16, 2025 at 09:36:26PM +0530, Aboorva Devarajan wrote:
> This patch series fixes some of the false positives in generic
> mm selftests and skips tests that cannot run correctly due to
> missing features or system limitations.
>
> Please let us know if you have any feedback.
>
> Thanks,
> Aboorva
>
> Aboorva Devarajan (2):
>   selftests/mm: Fix child process exit codes in KSM tests
>   selftests/mm: Mark thuge-gen as skipped if shmmax is too small or no
>     1G pages
>
> Donet Tom (4):
>   mm/selftests: Fix virtual_address_range test issues.
>   selftest/mm: Fix ksm_funtional_test failures
>   selftests/mm : fix test_prctl_fork_exec failure
>   mm/selftests: Fix split_huge_page_test failure on systems with 64KB
>     page size
>
>  .../selftests/mm/ksm_functional_tests.c       | 24 +++++++++++++------
>  .../selftests/mm/split_huge_page_test.c       | 23 ++++++++++++++----
>  tools/testing/selftests/mm/thuge-gen.c        | 11 +++++----
>  .../selftests/mm/virtual_address_range.c      | 14 +++--------
>  4 files changed, 45 insertions(+), 27 deletions(-)
>
> --
> 2.43.5
>
Re: [PATCH 0/6] selftests/mm: Fix false positives and skip unsupported tests
Posted by Aboorva Devarajan 3 months, 3 weeks ago
On Mon, 2025-06-16 at 17:11 +0100, Lorenzo Stoakes wrote:
> Hi Aboorva,
> 
> It's (highly!) forgivable as things have changed fairly recently, but the
> tippy tip of mm development is now done in the mm-new branch, against which
> this series doesn't apply.
> 
> I thought this might be the case, as there is a series I implemented there
> that changes the split huge page tests (possibly affecting more), hence me
> checking!
> 
> So you'll need to rebase against mm-new, unfortunately!
> 
> Thanks, Lorenzo

Hi Lorenzo,

Thanks for pointing this out.

We'll rebase the patches against mm-new and repost them as v2.

Regards,
Aboorva
> 
> On Mon, Jun 16, 2025 at 09:36:26PM +0530, Aboorva Devarajan wrote:
> > This patch series fixes some of the false positives in generic
> > mm selftests and skips tests that cannot run correctly due to
> > missing features or system limitations.
> > 
> > Please let us know if you have any feedback.
> > 
> > Thanks,
> > Aboorva
> > 
> > Aboorva Devarajan (2):
> >   selftests/mm: Fix child process exit codes in KSM tests
> >   selftests/mm: Mark thuge-gen as skipped if shmmax is too small or no
> >     1G pages
> > 
> > Donet Tom (4):
> >   mm/selftests: Fix virtual_address_range test issues.
> >   selftest/mm: Fix ksm_funtional_test failures
> >   selftests/mm : fix test_prctl_fork_exec failure
> >   mm/selftests: Fix split_huge_page_test failure on systems with 64KB
> >     page size
> > 
> >  .../selftests/mm/ksm_functional_tests.c       | 24 +++++++++++++------
> >  .../selftests/mm/split_huge_page_test.c       | 23 ++++++++++++++----
> >  tools/testing/selftests/mm/thuge-gen.c        | 11 +++++----
> >  .../selftests/mm/virtual_address_range.c      | 14 +++--------
> >  4 files changed, 45 insertions(+), 27 deletions(-)
> > 
> > --
> > 2.43.5
> >