All of
 help / color / mirror / Atom feed
* + selftests-mm-hugetlb_reparenting_test-do-not-unmount.patch added to mm-nonmm-unstable branch
@ 2024-01-26  2:15 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2024-01-26  2:15 UTC (permalink / raw)
  To: mm-commits, shuah, ryan.roberts, usama.anjum, akpm

The patch titled
     Subject: selftests/mm: hugetlb_reparenting_test: do not unmount
has been added to the -mm mm-nonmm-unstable branch.  Its filename is

This patch will shortly appear at

This patch will later appear in the mm-nonmm-unstable branch at

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next via the mm-everything
branch at git://
and is updated there every 2-3 working days

From: Muhammad Usama Anjum <>
Subject: selftests/mm: hugetlb_reparenting_test: do not unmount
Date: Thu, 25 Jan 2024 20:46:04 +0500

Patch series "selftests/mm: Improve", v3.

In this series, I'm trying to add 3 missing tests to which
is used to run all the tests in mm suite.  These tests weren't running by
CIs.  While enabling them and through review feedback, I've fixed some
problems in tests as well.  I've found more flakiness in more tests which
I'll be fixing with future patches.

hugetlb-read-hwpoison test is being added where it can only run with newly
added "-d" (destructive) flag only.  Not sure why it is failing again.  So
once it become stable, we can think of moving it to default set of tests
if it doesn't have any side-effect to them.

This patch (of 5):

Do not unmount the cgroup if it wasn't mounted by the test.  The earlier
patch had fixed this for charge_reserved_hugetlb, but not for this test. 
I'm adding fixes tag to that earlier patch.

Fixes: 209376ed2a84 ("selftests/vm: make work with existing cgroup setting")
Signed-off-by: Muhammad Usama Anjum <>
Cc: Ryan Roberts <>
Cc: Shuah Khan <>
Signed-off-by: Andrew Morton <>

 tools/testing/selftests/mm/ |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

--- a/tools/testing/selftests/mm/
+++ a/tools/testing/selftests/mm/
@@ -248,5 +248,7 @@ cleanup
 echo ALL PASS
-umount $CGROUP_ROOT
-rm -rf $CGROUP_ROOT
+if [[ $do_umount ]]; then
+  umount $CGROUP_ROOT
+  rm -rf $CGROUP_ROOT

Patches currently in -mm which might be from are


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-26  2:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-26  2:15 + selftests-mm-hugetlb_reparenting_test-do-not-unmount.patch added to mm-nonmm-unstable branch Andrew Morton

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.