summaryrefslogtreecommitdiff
path: root/crypto/pcrypt.c
diff options
context:
space:
mode:
authorDennis Zhou <dennis@kernel.org>2019-02-22 02:44:35 +0300
committerDennis Zhou <dennis@kernel.org>2019-03-13 22:25:31 +0300
commitd9f3a01eebe80180babd8541406490020f184d17 (patch)
tree752b2b1e32df289e27ef8b89459a09342e9ad7bc /crypto/pcrypt.c
parent8c43004af01635cc9fbb11031d070e5e0d327ef2 (diff)
downloadlinux-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 'crypto/pcrypt.c')
0 files changed, 0 insertions, 0 deletions