summaryrefslogtreecommitdiffstats
path: root/lib/linear_ranges.c
diff options
context:
space:
mode:
authorRoman Gushchin <guro@fb.com>2021-04-07 20:57:35 -0700
committerDennis Zhou <dennis@kernel.org>2021-04-21 18:17:35 +0000
commit8ea2e1e35d1eb4c76290ff5d565a1bfd6c24f117 (patch)
tree1d42a0d34cb132f062ace0cc1b5d31214b37e984 /lib/linear_ranges.c
parent67c2669d69fb5ada0f3b5123fb6ebf6fef9faee5 (diff)
downloadlinux-8ea2e1e35d1eb4c76290ff5d565a1bfd6c24f117.tar.bz2
percpu: factor out pcpu_check_block_hint()
Factor out the pcpu_check_block_hint() helper, which will be useful in the future. The new function checks if the allocation can likely fit within the contig hint. Signed-off-by: Roman Gushchin <guro@fb.com> Signed-off-by: Dennis Zhou <dennis@kernel.org> Signed-off-by: Dennis Zhou <dennis@kernel.org>
Diffstat (limited to 'lib/linear_ranges.c')
0 files changed, 0 insertions, 0 deletions