diff options
author | Dennis Zhou <dennis@kernel.org> | 2019-02-21 15:44:35 -0800 |
---|---|---|
committer | Dennis Zhou <dennis@kernel.org> | 2019-03-13 12:25:31 -0700 |
commit | d9f3a01eebe80180babd8541406490020f184d17 (patch) | |
tree | 752b2b1e32df289e27ef8b89459a09342e9ad7bc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8c43004af01635cc9fbb11031d070e5e0d327ef2 (diff) |
percpu: introduce helper to determine if two regions overlap
While block hints were always accurate, it's possible when spanning
across blocks that we miss updating the chunk's contig_hint. Rather than
rely on correctness of the boundaries of hints, do a full overlap
comparison.
A future patch introduces the scan_hint which makes the contig_hint
slightly fuzzy as they can at times be smaller than the actual hint.
Signed-off-by: Dennis Zhou <dennis@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions