[GIT PULL] memblock: small optimizations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
Sincerely yours,
Mike.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux