On Fri, Jun 12, 2026 at 10:00:29AM +0200, David Hildenbrand (Arm) wrote:
> >> tools/testing/selftests/mm/droppable.c | 46
> >> +++++++++++++++++++---------------
> >> 1 file changed, 26 insertions(+), 20 deletions(-)
> >>
> >> diff --git a/tools/testing/selftests/mm/droppable.c
> >> b/tools/testing/selftests/mm/droppable.c
> >> index 30c8be37fcb9..57e1b6fc5569 100644
> >> --- a/tools/testing/selftests/mm/droppable.c
> >> +++ b/tools/testing/selftests/mm/droppable.c
> >> @@ -17,10 +17,10 @@
> >>
> >> int main(int argc, char *argv[])
> >> {
> >> - size_t alloc_size = 134217728;
> >> - size_t page_size = getpagesize();
> >> + const size_t alloc_size = 2 * 1024 * 1024;
> >
> > I guess regardless of page size this suffices as an arbitrary range over
> > which
> > to check things work.
>
> Yes, that was my thinking. "some pages".
>
> I was briefly wondering whether to add separate tests for THP vs. !THP, but
> decided to leave that for another day :)
Yeah we (or Claude ;) can expand and extend later, key thing here is to get the
slowness sorted... :)
>
> --
> Cheers,
>
> David
Cheers, Lorenzo