aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMichael S. Tsirkin <[email protected]>2019-11-19 05:25:24 -0500
committerMichael S. Tsirkin <[email protected]>2019-12-11 08:14:07 -0500
commit63b9b80e9f5b2c463d98d6e550e0d0e3ace66033 (patch)
treecc7783bec788c6b87dc68d93654df3ab96f18ace /tools/perf/scripts/python/exported-sql-viewer.py
parent2a946fa1c8bc26df03bacebb6811b656d5e0cf1c (diff)
virtio_balloon: divide/multiply instead of shifts
We managed to get confused about the shift direction at least once. Let's switch to division/multiplcation instead. Add a number of pages macro for this purpose. We still keep the order macro around too since this is what alloc/free pages want. Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Wei Wang <[email protected]> Reviewed-by: David Hildenbrand <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions