aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2016-05-20 17:03:10 -0700
committerLinus Torvalds <[email protected]>2016-05-20 17:58:30 -0700
commitc12e51b07b3ac4c188fd91a82f96840fdb9cca6f (patch)
tree13f432c3419297b6994905f9bb2eb9b934bc614d /tools/perf/scripts/python
parent0c7fa0a8418cbe0e8963fe36db9575d03b8589f7 (diff)
radix-tree: replace node->height with node->shift
node->shift represents the shift necessary for looking in the slots array at this level. It is equal to the old (node->height - 1) * RADIX_TREE_MAP_SHIFT. Signed-off-by: Matthew Wilcox <[email protected]> Reviewed-by: Ross Zwisler <[email protected]> Cc: Konstantin Khlebnikov <[email protected]> Cc: Kirill Shutemov <[email protected]> Cc: Jan Kara <[email protected]> Cc: Neil Brown <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions