diff options
author | Dennis Zhou <dennis@kernel.org> | 2019-02-22 02:44:35 +0300 |
---|---|---|
committer | Dennis Zhou <dennis@kernel.org> | 2019-03-13 22:25:31 +0300 |
commit | d9f3a01eebe80180babd8541406490020f184d17 (patch) | |
tree | 752b2b1e32df289e27ef8b89459a09342e9ad7bc /ipc | |
parent | 8c43004af01635cc9fbb11031d070e5e0d327ef2 (diff) | |
download | linux-d9f3a01eebe80180babd8541406490020f184d17.tar.xz |
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 'ipc')
0 files changed, 0 insertions, 0 deletions