mcexec: -n: topology aware partitioned execution

This commit is contained in:
Balazs Gerofi
2016-12-10 16:27:57 +09:00
parent fdcf766337
commit 052b3f44ca
8 changed files with 239 additions and 11 deletions

View File

@@ -265,6 +265,8 @@ struct thread *create_thread(unsigned long user_pc,
goto err;
}
dkprintf("%s: pid: %d, CPU: %d\n",
__FUNCTION__, proc->pid, cpu);
CPU_SET(cpu, &thread->cpu_set);
cpu_set_empty = 0;
}