Skip to contentSkip to conversation

memblock: small optimizations

GIT PULL Merged Mike Rapoport 2 participants 2 messages Feb 27, 2023 Memory management

lore
Share & tools
lore
#0 lore raw

Hi Linus,

The following changes since commit 6d796c50f84ca79f1722bb131799e5a5710c4700:

Linux 6.2-rc6 (2023-01-29 13:59:43 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/memblock-v6.3-rc1

for you to fetch changes up to 2fe03412e2e1be3d5ab37b8351a37c3aec506556:

memblock: Avoid useless checks in memblock_merge_regions(). (2023-01-31 15:51:56 +0200)

----------------------------------------------------------------
memblock: small optimizations

* fix off-by-one in the check whether memblock_add_range() should reallocate memory to accommodate newly inserted range
* check only for relevant regions in memblock_merge_regions() rather than swipe over the entire array

----------------------------------------------------------------
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(-)
Signature · 2 lines
Sincerely yours,
Mike.
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 27 Feb 2023 11:04:22 +0200:

The pull request you sent on Mon, 27 Feb 2023 11:04:22 +0200:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/memblock-v6.3-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/5a6d92493bb2e6e0a2fbb4a8b2c7ed97b4a5652b

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html