[PATCH v2 0/2] Some small improvements for memblock.

From: Peng Zhang
Date: Sun Jan 29 2023 - 04:02:31 EST


Some small optimizations for memblock.

Changes since v1:
- Delete the second patch that complicate code
- Adjust the code of memblock_merge_regions()

Peng Zhang (2):
memblock: Make a boundary tighter in memblock_add_range().
memblock: Avoid useless checks in memblock_merge_regions().

mm/memblock.c | 41 +++++++++++++++++++++++++++--------------
1 file changed, 27 insertions(+), 14 deletions(-)

--
2.20.1