aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2016-05-20 17:03:07 -0700
committerLinus Torvalds <[email protected]>2016-05-20 17:58:30 -0700
commit0c7fa0a8418cbe0e8963fe36db9575d03b8589f7 (patch)
tree847a7e84548372584bbea5a4c67f765d8e9cff36 /tools/perf/scripts/python
parent2fcd9005cc03ab09ea2a940515ed728d43df66c4 (diff)
radix-tree: split node->path into offset and height
Neither piece of information we're storing in node->path can be larger than 64, so store each in its own unsigned char instead of shifting and masking to store them both in an unsigned int. 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