lkml.org 
[lkml]   [2023]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[GIT PULL] memblock: small optimizations
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.

\
 
 \ /
  Last update: 2023-03-27 00:36    [W:0.168 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site