Skip to content
Commit d9f3a01e authored by Dennis Zhou's avatar Dennis Zhou
Browse files

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: default avatarDennis Zhou <dennis@kernel.org>
parent 8c43004a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment