aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--NEWS1
-rwxr-xr-xrestrict_to_cpu02
3 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8f293e0..f6382ce 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,8 @@ VERSION = 0.31.10
SCRIPT_FILES = clean_files clean_perl compress_files check_elf_files \
lib_symlinks fix_mo translate_menu \
- fix_pamd gprintify remove_info_dir relink_symlinks fix_eol
+ fix_pamd gprintify remove_info_dir relink_symlinks fix_eol \
+ restrict_to_cpu0
BIN_FILES = macroszification
MACROS_FILES = spec-helper.macros
TEST_FILES = t/*.t
diff --git a/NEWS b/NEWS
index 3f89fdb..1899a18 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
* compress_files: drop support for LZMA
+ * restrict_to_cpu0: new helper to prevent SMP on some arches
2015-07-25 Shlomi Fish <shlomif@cpan.org> 0.31.10
* compress_files: More proper handling of $_. Convert as much as possible
diff --git a/restrict_to_cpu0 b/restrict_to_cpu0
new file mode 100755
index 0000000..febc67a
--- /dev/null
+++ b/restrict_to_cpu0
@@ -0,0 +1,2 @@
+#!/bin/sh
+/usr/bin/taskset -c 0 /bin/sh "$1"