All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dev Jain <dev.jain@arm.com>
To: akpm@linux-foundation.org, david@redhat.com, shuah@kernel.org
Cc: lorenzo.stoakes@oracle.com, Liam.Howlett@oracle.com,
	vbabka@suse.cz, rppt@kernel.org, surenb@google.com,
	mhocko@suse.com, npache@redhat.com, ryan.roberts@arm.com,
	linux-mm@kvack.org, linux-kselftest@vger.kernel.org,
	linux-kernel@vger.kernel.org, Dev Jain <dev.jain@arm.com>
Subject: [PATCH v2 0/2] selftests/mm: uffd-stress fixes
Date: Tue,  9 Sep 2025 11:45:28 +0530	[thread overview]
Message-ID: <20250909061531.57272-1-dev.jain@arm.com> (raw)

This patchset ensures that the number of hugepages is correctly set in the
system so that the uffd-stress test does not fail due to the racy nature of
the test. Patch 1 changes the hugepage constraint in the run_vmtests.sh
script, whereas patch 2 changes the constraint in the test itself.

---
Based on 6.17-rc5.

Dev Jain (2):
  selftests/mm/uffd-stress: make test operate on less hugetlb memory
  selftests/mm/uffd-stress: stricten constraint on free hugepages needed
    before the test

 tools/testing/selftests/mm/run_vmtests.sh | 10 +++++++---
 tools/testing/selftests/mm/uffd-stress.c  | 17 +++++++++++------
 2 files changed, 18 insertions(+), 9 deletions(-)

-- 
2.30.2


             reply	other threads:[~2025-09-09  6:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-09  6:15 Dev Jain [this message]
2025-09-09  6:15 ` [PATCH v2 1/2] selftests/mm/uffd-stress: make test operate on less hugetlb memory Dev Jain
2025-09-09  6:15 ` [PATCH v2 2/2] selftests/mm/uffd-stress: stricten constraint on free hugepages needed before the test Dev Jain
2025-09-09  6:27 ` [PATCH v2 0/2] selftests/mm: uffd-stress fixes Dev Jain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250909061531.57272-1-dev.jain@arm.com \
    --to=dev.jain@arm.com \
    --cc=Liam.Howlett@oracle.com \
    --cc=akpm@linux-foundation.org \
    --cc=david@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lorenzo.stoakes@oracle.com \
    --cc=mhocko@suse.com \
    --cc=npache@redhat.com \
    --cc=rppt@kernel.org \
    --cc=ryan.roberts@arm.com \
    --cc=shuah@kernel.org \
    --cc=surenb@google.com \
    --cc=vbabka@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.