aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorDavid Hildenbrand <[email protected]>2023-07-13 16:55:51 +0200
committerMichael S. Tsirkin <[email protected]>2023-08-10 15:51:46 -0400
commitf55484fd7be923b740e8e1fc304070ba53675cb4 (patch)
tree7fbca32fe32118f2bdff8a36b24d6fc0621c3f7c /tools/perf/scripts/python/libxed.py
parenta31648fd4f96fbe0a4d0aeb16b57a2405c6943c0 (diff)
virtio-mem: check if the config changed before fake offlining memory
If we repeatedly fail to fake offline memory to unplug it, we won't be sending any unplug requests to the device. However, we only check if the config changed when sending such (un)plug requests. We could end up trying for a long time to unplug memory, even though the config changed already and we're not supposed to unplug memory anymore. For example, the hypervisor might detect a low-memory situation while unplugging memory and decide to replug some memory. Continuing trying to unplug memory in that case can be problematic. So let's check on a more regular basis. Signed-off-by: David Hildenbrand <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions