diff options
author | Bharata B Rao <bharata@linux.vnet.ibm.com> | 2016-07-13 12:20:20 +0530 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2016-07-18 10:40:27 +1000 |
commit | 5cbc64de25973e9129c5a7897734a06ac64b9aff (patch) | |
tree | 2bac96cf0e8ce6e2f576e1bf184c6fdaec15ff24 /default-configs | |
parent | 21bb3093e6accd2d7d60531a472a34e40911acd9 (diff) |
spapr: Ensure CPU cores are added contiguously and removed in LIFO order
If CPU core addition or removal is allowed in random order leading to
holes in the core id range (and hence in the cpu_index range), migration
can fail as migration with holes in cpu_index range isn't yet handled
correctly.
Prevent this situation by enforcing the addition in contiguous order
and removal in LIFO order so that we never end up with holes in
cpu_index range.
Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'default-configs')
0 files changed, 0 insertions, 0 deletions