summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2016-05-18 16:44:54 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-07 18:14:36 -0700
commitaa1cc4d4753f56f85c3df65a574d8fdb5823c243 (patch)
tree9d4dce02381f88a1e5810d5625d395b3ff8990c1 /tools/perf/scripts/python/export-to-postgresql.py
parent6232876e14a5a7fc0b0449a740bda8ffe2ed59ed (diff)
xen: use same main loop for counting and remapping pages
commit dd14be92fbf5bc1ef7343f34968440e44e21b46a upstream. Instead of having two functions for cycling through the E820 map in order to count to be remapped pages and remap them later, just use one function with a caller supplied sub-function called for each region to be processed. This eliminates the possibility of a mismatch between both loops which showed up in certain configurations. Suggested-by: Ed Swierk <eswierk@skyportsystems.com> Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions