[GIT,PULL] memblock: small optimizations

Message ID Y/xyFjdgpYP5rm3z@kernel.org
State New
Headers
Series [GIT,PULL] memblock: small optimizations |

Pull-request

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

Message

Mike Rapoport Feb. 27, 2023, 9:04 a.m. UTC
  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(-)
  

Comments

pr-tracker-bot@kernel.org Feb. 27, 2023, 6:18 p.m. UTC | #1
The pull request you sent on Mon, 27 Feb 2023 11:04:22 +0200:

> 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!