diff options
| author | Mahircan Gul <mahircg@mpi-sws.org> | 2016-02-13 15:35:34 -0500 |
|---|---|---|
| committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2016-03-08 10:34:38 -0500 |
| commit | 322eaadaa95b4f64f4102a9bc6aaa2237401ae41 (patch) | |
| tree | 3d0c1909cf3e9f067679e9a0d2e1910b68f25747 /src | |
| parent | c820535d6864137e158df46d0903c6f44a97ca31 (diff) | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/migration.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 64 | CPU_ZERO_S(*sz, *set); | 64 | CPU_ZERO_S(*sz, *set); |
| 65 | 65 | ||
| 66 | /* process LSB chunks first (at the end of the str) and move backward */ | 66 | /* process LSB chunks first (at the end of the str) and move backward */ |
| 67 | chunk_str = buf + len - 8; | 67 | chunk_str = buf + len - 9; |
| 68 | i = 0; | 68 | i = 0; |
| 69 | do | 69 | do |
| 70 | { | 70 | { |
