aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2021-08-06 11:05:37 -0700
committerDarrick J. Wong <[email protected]>2021-08-06 11:05:37 -0700
commitf1653c2e2831e9db6cd68473bbec581782df03a5 (patch)
tree3fa04e4373e85f430c6041e1e0ee883b222d805c /tools/perf/scripts/python/mem-phys-addr.py
parent149e53afc851713a70b6a06ebfaf2ebf25975454 (diff)
xfs: introduce CPU hotplug infrastructure
We need to move to per-cpu state for both deferred inode inactivation and CIL tracking, but to do that we need to handle CPUs being removed from the system by the hot-plug code. Introduce generic XFS infrastructure to handle CPU hotplug events that is set up at module init time and torn down at module exit time. Initially, we only need CPU dead notifications, so we only set up a callback for these notifications. The infrastructure can be updated in future for other CPU hotplug state machine notifications easily if ever needed. Signed-off-by: Dave Chinner <[email protected]> [djwong: rearrange some macros, fix function prototypes] Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions