Skip to contentSkip to conversation

selftests-mm-fix-the-incorrect-usage-info-of-khugepaged.patch removed from -mm tree

merged mm-hotfixes-stable Andrew Morton 1 participant 1 message Oct 17, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: selftests: mm: fix the incorrect usage() info of khugepaged
has been removed from the -mm tree. Its filename was
selftests-mm-fix-the-incorrect-usage-info-of-khugepaged.patch

This patch was dropped because it was merged into the mm-hotfixes-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Nanyong Sun <[email protected]>
Subject: selftests: mm: fix the incorrect usage() info of khugepaged
Date: Tue, 15 Oct 2024 10:02:57 +0800

The mount option of tmpfs should be huge=advise, not madvise which is not supported and may mislead the users.

Fixes 1b03d0d558a2 ("selftests/vm: add thp collapse file and tmpfs testing")
Cc Kefeng Wang <[email protected]>
Cc Shuah Khan <[email protected]>
Cc Zach O'Keefe <[email protected]>

---

 tools/testing/selftests/mm/khugepaged.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/mm/khugepaged.c renamed from tools/testing/selftests/mm/khugepaged.c~selftests-mm-fix-the-incorrect-usage-info-of-khugepaged +1 -1
@@ -1091,7 +1091,7 @@ static void usage(void)
 	fprintf(stderr, "\n\t\"file,all\" mem_type requires kernel built with\n");
 	fprintf(stderr,	"\tCONFIG_READ_ONLY_THP_FOR_FS=y\n");
 	fprintf(stderr, "\n\tif [dir] is a (sub)directory of a tmpfs mount, tmpfs must be\n");
-	fprintf(stderr,	"\tmounted with huge=madvise option for khugepaged tests to work\n");
+	fprintf(stderr,	"\tmounted with huge=advise option for khugepaged tests to work\n");
 	fprintf(stderr,	"\n\tSupported Options:\n");
 	fprintf(stderr,	"\t\t-h: This help message.\n");
 	fprintf(stderr,	"\t\t-s: mTHP size, expressed as page order.\n");

_

Patches currently in -mm which might be from [email protected] are

mm-move-mm-flags-to-mm_typesh.patch