From 8bc6a7702e34f3946f29c9175aedd76c9725cd7e Mon Sep 17 00:00:00 2001 From: Pingfan Liu Date: Thu, 14 Sep 2023 12:12:40 +0800 Subject: [PATCH] fix typo in memhog.8 Resolves: bz2211329 Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2211329 Signed-off-by: Pingfan Liu --- 0001-fix-typo-in-memhog.8.patch | 26 ++++++++++++++++++++++++++ numactl.spec | 1 + 2 files changed, 27 insertions(+) create mode 100644 0001-fix-typo-in-memhog.8.patch diff --git a/0001-fix-typo-in-memhog.8.patch b/0001-fix-typo-in-memhog.8.patch new file mode 100644 index 0000000..664abdb --- /dev/null +++ b/0001-fix-typo-in-memhog.8.patch @@ -0,0 +1,26 @@ +From 66308a7e30a964aaad324f74c74eb5b9d75a2abd Mon Sep 17 00:00:00 2001 +From: Pingfan Liu +Date: Mon, 12 Jun 2023 21:15:39 +0800 +Subject: [PATCH] fix typo in memhog.8 + +Signed-off-by: Pingfan Liu +--- + memhog.8 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/memhog.8 b/memhog.8 +index e28e784..3846e08 100644 +--- a/memhog.8 ++++ b/memhog.8 +@@ -52,7 +52,7 @@ thread is running on) + # Allocate a 1G region, mmap backed by memhog.mmap file, membind to node 0, repeat test 6 times + memhog -r6 1G --membind 0 -fmemhog.mmap + .TP +-# Allocate a 1G region, iterleave across nodes 0,1,2,3, repeat test 4 times ++# Allocate a 1G region, interleave across nodes 0,1,2,3, repeat test 4 times + memhog -r4 1G --interleave 0-3 + .TP + # Allocate a 1G region, (implicit) default policy, repeat test 8 times +-- +2.31.1 + diff --git a/numactl.spec b/numactl.spec index 45b6539..69b6cbf 100644 --- a/numactl.spec +++ b/numactl.spec @@ -37,6 +37,7 @@ ExcludeArch: s390 %{arm} # # Patches 601 onward are generic patches # +Patch601: 0001-fix-typo-in-memhog.8.patch