-
由 Roman Gushchin 提交于
mainline inclusion from mainline-v5.14-rc1 commit 8ea2e1e3 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I4BE79 CVE: NA ------------------------------------------------- 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: NRoman Gushchin <guro@fb.com> Signed-off-by: NDennis Zhou <dennis@kernel.org> Signed-off-by: NDennis Zhou <dennis@kernel.org> (cherry picked from commit 8ea2e1e3) Signed-off-by: NYuanzheng Song <songyuanzheng@huawei.com> Reviewed-by: NKefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
797a1ad6