diff options
author | Roman Gushchin <[email protected]> | 2021-04-07 20:57:35 -0700 |
---|---|---|
committer | Dennis Zhou <[email protected]> | 2021-04-21 18:17:35 +0000 |
commit | 8ea2e1e35d1eb4c76290ff5d565a1bfd6c24f117 (patch) | |
tree | 1d42a0d34cb132f062ace0cc1b5d31214b37e984 /lib/test_overflow.c | |
parent | 67c2669d69fb5ada0f3b5123fb6ebf6fef9faee5 (diff) |
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 <[email protected]>
Signed-off-by: Dennis Zhou <[email protected]>
Signed-off-by: Dennis Zhou <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions