diff --git a/SOURCES/0011-Added-memhog.8-to-Makefile.am.patch b/SOURCES/0011-Added-memhog.8-to-Makefile.am.patch new file mode 100644 index 0000000..e18fda9 --- /dev/null +++ b/SOURCES/0011-Added-memhog.8-to-Makefile.am.patch @@ -0,0 +1,26 @@ +From 6a41846f3191afe48144481bbfa2fd4edafdc8d5 Mon Sep 17 00:00:00 2001 +From: Sanskriti Sharma +Date: Wed, 21 Nov 2018 10:28:44 -0500 +Subject: [PATCH] Added memhog.8 to Makefile.am Signed-off-by: Sanskriti Sharma + + +--- + Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index 1c4266d..ab61d42 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -12,7 +12,7 @@ include_HEADERS = numa.h numacompat1.h numaif.h + + noinst_HEADERS = numaint.h util.h + +-dist_man_MANS = move_pages.2 numa.3 numactl.8 numastat.8 migratepages.8 migspeed.8 ++dist_man_MANS = move_pages.2 numa.3 numactl.8 numastat.8 migratepages.8 migspeed.8 memhog.8 + + EXTRA_DIST = README.md INSTALL.md + +-- +2.7.5 + diff --git a/SOURCES/0012-Update-manpage-description-of-localalloc-option.patch b/SOURCES/0012-Update-manpage-description-of-localalloc-option.patch new file mode 100644 index 0000000..53b47c6 --- /dev/null +++ b/SOURCES/0012-Update-manpage-description-of-localalloc-option.patch @@ -0,0 +1,26 @@ +From 26fba7199c365b55e72e054bb2adba097ce04924 Mon Sep 17 00:00:00 2001 +From: Seeteena Thoufeek +Date: Wed, 8 Jan 2020 14:39:01 +0530 +Subject: [PATCH] Update manpage description of --localalloc option + +Signed-off-by: Seeteena Thoufeek +--- + numactl.8 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/numactl.8 b/numactl.8 +index 7a001c0..f3bb22b 100644 +--- a/numactl.8 ++++ b/numactl.8 +@@ -159,7 +159,7 @@ A !N-N notation indicates the inverse of N-N, in other words all cpus + except N-N. If used with + notation, specify !+N-N. + .TP + .B \-\-localalloc, \-l +-Always allocate on the current node. ++Try to allocate on the current node of the process, but if memory cannot be allocated there fall back to other nodes. + .TP + .B \-\-preferred=node + Preferably allocate memory on +-- +2.7.5 + diff --git a/SPECS/numactl.spec b/SPECS/numactl.spec index d274d03..93be941 100644 --- a/SPECS/numactl.spec +++ b/SPECS/numactl.spec @@ -1,7 +1,7 @@ Name: numactl Summary: Library for tuning for Non Uniform Memory Access machines Version: 2.0.12 -Release: 9%{?dist} +Release: 11%{?dist} # libnuma is LGPLv2 and GPLv2 # numactl binaries are GPLv2 only License: GPLv2 @@ -47,6 +47,8 @@ Patch607 :0007-Fix-Add-ShmemHugePages-and-ShmemPmdMapped-to-system_.patch Patch608 :0008-memhog-add-man-page.patch Patch609: 0009-numastat.8-clarify-that-information-relates-to-resid.patch Patch610: 0010-Fix-crashes-when-using-the-touch-option.patch +Patch611: 0011-Added-memhog.8-to-Makefile.am.patch +Patch612: 0012-Update-manpage-description-of-localalloc-option.patch @@ -87,6 +89,8 @@ Provides development headers for numa library calls %patch608 -p1 %patch609 -p1 %patch610 -p1 +%patch611 -p1 +%patch612 -p1 %build @@ -132,6 +136,12 @@ make DESTDIR=$RPM_BUILD_ROOT install %{_mandir}/man3/*.3* %changelog +* Sat May 9 2020 Pingfan Liu - 2.0.12-11 +- Update manpage description of --localalloc option + +* Fri Mar 13 2020 Pingfan Liu - 2.0.12-10 +- memhog : add man page + * Mon Apr 1 2019 Pingfan Liu - 2.0.12-3 - add gating test cases