lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250414222456.43212-5-npache@redhat.com>
Date: Mon, 14 Apr 2025 16:24:56 -0600
From: Nico Pache <npache@...hat.com>
To: linux-mm@...ck.org,
	linux-doc@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	linux-kselftest@...r.kernel.org
Cc: akpm@...ux-foundation.org,
	corbet@....net,
	shuah@...nel.org,
	david@...hat.com,
	baohua@...nel.org,
	baolin.wang@...ux.alibaba.com,
	ryan.roberts@....com,
	willy@...radead.org,
	peterx@...hat.com,
	ioworker0@...il.com,
	ziy@...dia.com,
	wangkefeng.wang@...wei.com,
	dev.jain@....com,
	mhocko@...e.com,
	rientjes@...gle.com,
	hannes@...xchg.org,
	zokeefe@...gle.com,
	surenb@...gle.com,
	jglisse@...gle.com,
	cl@...two.org,
	jack@...e.cz,
	dave.hansen@...ux.intel.com,
	will@...nel.org,
	tiwai@...e.de,
	catalin.marinas@....com,
	anshuman.khandual@....com,
	raquini@...hat.com,
	aarcange@...hat.com,
	kirill.shutemov@...ux.intel.com,
	yang@...amperecomputing.com,
	thomas.hellstrom@...ux.intel.com,
	vishal.moola@...il.com,
	sunnanyong@...wei.com,
	usamaarif642@...il.com,
	mathieu.desnoyers@...icios.com,
	mhiramat@...nel.org,
	rostedt@...dmis.org
Subject: [PATCH v3 4/4] selftests: mm: add defer to thp setting parser

add the defer setting to the selftests library for reading thp settings.

Signed-off-by: Nico Pache <npache@...hat.com>
---
 tools/testing/selftests/mm/thp_settings.c | 1 +
 tools/testing/selftests/mm/thp_settings.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tools/testing/selftests/mm/thp_settings.c b/tools/testing/selftests/mm/thp_settings.c
index ad872af1c81a..b2f9f62b302a 100644
--- a/tools/testing/selftests/mm/thp_settings.c
+++ b/tools/testing/selftests/mm/thp_settings.c
@@ -20,6 +20,7 @@ static const char * const thp_enabled_strings[] = {
 	"always",
 	"inherit",
 	"madvise",
+	"defer",
 	NULL
 };
 
diff --git a/tools/testing/selftests/mm/thp_settings.h b/tools/testing/selftests/mm/thp_settings.h
index fc131d23d593..0d52e6d4f754 100644
--- a/tools/testing/selftests/mm/thp_settings.h
+++ b/tools/testing/selftests/mm/thp_settings.h
@@ -11,6 +11,7 @@ enum thp_enabled {
 	THP_ALWAYS,
 	THP_INHERIT,
 	THP_MADVISE,
+	THP_DEFER,
 };
 
 enum thp_defrag {
-- 
2.48.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ