aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2019-08-05 08:27:05 -0600
committerRafael J. Wysocki <[email protected]>2019-08-12 11:00:31 +0200
commitb630f62bc57cb2f6364cb1199983361d2a664abd (patch)
treef9719fd648f3361671fed828b911a79125b9d1bb /scripts/gcc-plugins/cyc_complexity_plugin.c
parent06188d713885d2a469067637240605b657a4b5a7 (diff)
HMAT: Register attributes for memory hot add
Some of the memory nodes described in HMAT may not be online at the time the HMAT subsystem parses their nodes' attributes. Should the node be set to online later, as can happen when using PMEM as RAM after boot, the nodes will be missing their initiator links and performance attributes. Regsiter a memory notifier callback and register the memory attributes the first time its node is brought online if it wasn't registered. Signed-off-by: Keith Busch <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions