aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorMitko Haralanov <[email protected]>2016-03-08 11:14:36 -0800
committerDoug Ledford <[email protected]>2016-03-21 15:55:21 -0400
commiteef9c896a94e715fcf8eb41e98b2469319641c73 (patch)
tree982f983c66380726e0f1843face799708f52fc7d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent4b00d9490f2147d29f107f36391b0cc77bcd944f (diff)
IB/hfi1: Allow remove MMU callbacks to free nodes
In order to allow the remove MMU callbacks to free the RB nodes, it is necessary to prevent any references to the nodes after the remove callback has been called. Therefore, remove the node from the tree prior to calling the callback. In other words, the MMU/RB API now guarantees that all RB node operations it performs will be done prior to calling the remove callback and that the RB node will not be touched afterwards. Reviewed-by: Dennis Dalessandro <[email protected]> Reviewed-by: Dean Luick <[email protected]> Signed-off-by: Mitko Haralanov <[email protected]> Signed-off-by: Jubin John <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions