]> Git Repo - linux.git/commit - mm/memblock.c
memblock: Make a boundary tighter in memblock_add_range().
authorPeng Zhang <[email protected]>
Sun, 29 Jan 2023 09:00:33 +0000 (17:00 +0800)
committerMike Rapoport (IBM) <[email protected]>
Tue, 31 Jan 2023 13:51:42 +0000 (15:51 +0200)
commitad500fb2d11b3739dcbc17a31976828b9161ecf5
treee3cc000538779250f5d3538583c87d63a1dfc1e6
parent6d796c50f84ca79f1722bb131799e5a5710c4700
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mike Rapoport (IBM) <[email protected]>
mm/memblock.c
This page took 0.054417 seconds and 4 git commands to generate.