summary refs log tree commit diff stats
path: root/scripts/tracetool/backend/ftrace.py
diff options
context:
space:
mode:
authorBharata B Rao <bharata@linux.vnet.ibm.com>2016-07-13 12:20:20 +0530
committerDavid Gibson <david@gibson.dropbear.id.au>2016-07-18 10:40:27 +1000
commit5cbc64de25973e9129c5a7897734a06ac64b9aff (patch)
tree2bac96cf0e8ce6e2f576e1bf184c6fdaec15ff24 /scripts/tracetool/backend/ftrace.py
parent21bb3093e6accd2d7d60531a472a34e40911acd9 (diff)
downloadfocaccia-qemu-5cbc64de25973e9129c5a7897734a06ac64b9aff.tar.gz
focaccia-qemu-5cbc64de25973e9129c5a7897734a06ac64b9aff.zip
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 'scripts/tracetool/backend/ftrace.py')
0 files changed, 0 insertions, 0 deletions