diff options
author | Nick Child <[email protected]> | 2022-11-10 15:32:17 -0600 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-11-14 10:47:07 +0000 |
commit | 92125c3a602454824d70edb1b2abb382811cab4f (patch) | |
tree | 13dc4ac62d7f73d9e83c7a703e70f5a19b6c3f73 /tools/perf/scripts/python/libxed.py | |
parent | 44fbc1b6e0e291df1d31f5080777ce66a72ef37a (diff) |
ibmvnic: Add hotpluggable CPU callbacks to reassign affinity hints
When CPU's are added and removed, ibmvnic devices will reassign
hint values. Introduce a new cpu hotplug state CPUHP_IBMVNIC_DEAD
to signal to ibmvnic devices that the CPU has been removed and it
is time to reset affinity hint assignments. On the other hand,
when CPU's are being added, add a state instance to
CPUHP_AP_ONLINE_DYN which will trigger a reassignment of affinity
hints once the new CPU's are online. This implementation is based
on the virtio_net driver.
Signed-off-by: Thomas Falcon <[email protected]>
Signed-off-by: Dany Madden <[email protected]>
Signed-off-by: Nick Child <[email protected]>
Reviewed-by: Rick Lindsley <[email protected]>
Reviewed-by: Haren Myneni <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions