aboutsummaryrefslogtreecommitdiffstats
path: root/src/migration.c
Commit message (Collapse)AuthorAge
* Hack: Remap CPUs IDs to match Ludwig's cache topo.Glenn Elliott2014-01-02
| | | | | | This temporary patch remaps CPU IDs to match Ludwig's cache topology. Thus, "virtual" CPUs 0 and 1, which share an L2 cache, are remapped to CPUs 0 and 4.
* User large enough buffer to read /proc/litmus/release_masterpgmHiroyuki Chishiro2013-07-02
| | | | The string 'NO_CPU' needs to fit into the buffer.
* Auto-CPU-affinity from part./cluster assignment.Glenn Elliott2013-03-12
This patch replaces be_migrate_to() with several be_migrate_*() APIs to automatically assign CPU affinity masks from a task's partition (or cluster) assignment. Routines are release-master-aware such that the release master (if one exists) will NOT be included in the task's affinity mask. (Note that release-master avoidance may be overridden by calling __be_migrate_thread_to_cluster().)