From 322eaadaa95b4f64f4102a9bc6aaa2237401ae41 Mon Sep 17 00:00:00 2001 From: Mahircan Gul Date: Sat, 13 Feb 2016 21:35:34 +0100 Subject: Read the whole word from domain for cpu_set This fixes a problem on a 48-core platform where tasks couldn't be migrated to certain cores. --- src/migration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/migration.c b/src/migration.c index 1316d4c..a259c48 100644 --- a/src/migration.c +++ b/src/migration.c @@ -64,7 +64,7 @@ static int read_mapping(int idx, const char* which, cpu_set_t** set, size_t *sz) CPU_ZERO_S(*sz, *set); /* process LSB chunks first (at the end of the str) and move backward */ - chunk_str = buf + len - 8; + chunk_str = buf + len - 9; i = 0; do { -- cgit v1.2.2