diff options
author | 2023-01-29 17:00:33 +0800 | |
---|---|---|
committer | 2023-01-31 15:51:42 +0200 | |
commit | ad500fb2d11b3739dcbc17a31976828b9161ecf5 (patch) | |
tree | e3cc000538779250f5d3538583c87d63a1dfc1e6 /scripts/generate_rust_analyzer.py | |
parent | Linux 6.2-rc6 (diff) | |
download | linux-rng-ad500fb2d11b3739dcbc17a31976828b9161ecf5.tar.xz linux-rng-ad500fb2d11b3739dcbc17a31976828b9161ecf5.zip |
memblock: Make a boundary tighter in memblock_add_range().
When type->cnt * 2 + 1 is less than or equal to type->max, there is
enough empty regions to insert.
Signed-off-by: Peng Zhang <zhangpeng.00@bytedance.com>
Link: https://lore.kernel.org/r/20230129090034.12310-2-zhangpeng.00@bytedance.com
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions